[skip ci] Add comment for setRootCoord (#9322)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
xige-16 2021-10-06 14:04:25 +08:00 committed by GitHub
parent ed328f7aa5
commit ff5ddc2823
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,6 +190,7 @@ func NewQueryCoord(ctx context.Context, factory msgstream.Factory) (*QueryCoord,
return service, nil
}
// SetRootCoord sets root coordinator's client
func (qc *QueryCoord) SetRootCoord(rootCoord types.RootCoord) {
qc.rootCoordClient = rootCoord
}