mirror of https://github.com/milvus-io/milvus.git
[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>pull/12824/head
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…
Reference in New Issue