fix: Proxy restful api doesn't register (#30072)

issue: #30074
This PR fix that management restful api in proxy doesn't register to
http service

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
pull/30120/head
wei liu 2024-01-18 20:28:52 +08:00 committed by GitHub
parent c91254f762
commit fc56ed5c27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -419,6 +419,9 @@ func (node *Proxy) Start() error {
log.Debug("update state code", zap.String("role", typeutil.ProxyRole), zap.String("State", commonpb.StateCode_Healthy.String()))
node.UpdateStateCode(commonpb.StateCode_Healthy)
// register devops api
RegisterMgrRoute(node)
return nil
}