mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
根据服务名查找nodeid优化
This commit is contained in:
@@ -312,7 +312,7 @@ func (slf *CCluster) GetNodeIdByServiceName(servicename string, bOnline bool) []
|
||||
return ret
|
||||
}
|
||||
|
||||
return slf.cfg.GetIdByService(servicename)
|
||||
return nodeIDList
|
||||
}
|
||||
|
||||
func (slf *CCluster) CheckNodeIsOnlineByID(nodeid int) bool {
|
||||
|
||||
Reference in New Issue
Block a user