Skip to content

Commit

Permalink
fix: [Cherry-pick] Proxy restful api doesn't register (#30072) (#30559)
Browse files Browse the repository at this point in the history
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 <[email protected]>
Co-authored-by: wei liu <[email protected]>
  • Loading branch information
congqixia and weiliu1031 authored Feb 6, 2024
1 parent b2d3278 commit 8fec7de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 8fec7de

Please sign in to comment.