Skip to content

Commit

Permalink
整理服务状态
Browse files Browse the repository at this point in the history
  • Loading branch information
pangdogs committed Dec 26, 2024
1 parent d78a8b5 commit 04c708e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions service_running.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ func (svc *ServiceBehavior) initEntityPT() {
svc.changeRunningStatus(service.RunningStatus_EntityPTUndeclared, entityPT)
},
)

entityLib.Range(func(entityPT ec.EntityPT) bool {
svc.changeRunningStatus(service.RunningStatus_EntityPTDeclared, entityPT)
return true
})
}

func (svc *ServiceBehavior) shutEntityPT() {
Expand Down

0 comments on commit 04c708e

Please sign in to comment.