mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
[skip ci] Add a function comment for AddDependency (#12829)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com> Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
This commit is contained in:
parent
e4746e8c6e
commit
8d41448dbf
@ -88,6 +88,7 @@ func NewConnectionManager(session *sessionutil.Session) *ConnectionManager {
|
||||
}
|
||||
}
|
||||
|
||||
// AddDependency add a dependency by role name.
|
||||
func (cm *ConnectionManager) AddDependency(roleName string) error {
|
||||
if !cm.checkroleName(roleName) {
|
||||
return errors.New("roleName is illegal")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user