fix: [Cherry-pick] Proxy restful api doesn't register (#30072) (#30559)

Cherry-pick from master
pr: #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>
Co-authored-by: wei liu <wei.liu@zilliz.com>
pull/30563/head
congqixia 2024-02-06 16:58:33 +08:00 committed by GitHub
parent b2d3278c56
commit 8fec7de472
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -411,6 +411,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
}