mirror of https://github.com/milvus-io/milvus.git
Start management API before roles run (#21874)
Signed-off-by: wayblink <anyang.wang@zilliz.com>pull/21935/head
parent
5d5a04d38e
commit
e9f99081e4
|
@ -228,6 +228,8 @@ func (mr *MilvusRoles) Run(local bool, alias string) {
|
|||
paramtable.Init()
|
||||
}
|
||||
|
||||
management.ServeHTTP()
|
||||
|
||||
var rc *components.RootCoord
|
||||
var wg sync.WaitGroup
|
||||
if mr.EnableRootCoord {
|
||||
|
@ -298,7 +300,6 @@ func (mr *MilvusRoles) Run(local bool, alias string) {
|
|||
mr.setupLogger()
|
||||
tracer.Init()
|
||||
metrics.Register(Registry)
|
||||
management.ServeHTTP()
|
||||
|
||||
paramtable.SetCreateTime(time.Now())
|
||||
paramtable.SetUpdateTime(time.Now())
|
||||
|
|
Loading…
Reference in New Issue