[skip ci]Fix golint for addCollection (#12832)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/12834/head
xige-16 2021-12-06 21:47:58 +08:00 committed by GitHub
parent 7149a9f23c
commit d98b808f26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ func (qn *queryNode) addCollection(collectionID UniqueID, schema *schemapb.Colle
qn.collectionInfos[collectionID] = newCollection
err := saveNodeCollectionInfo(collectionID, newCollection, qn.id, qn.kvClient)
if err != nil {
log.Error("AddCollection: save collectionInfo error", zap.Any("error", err.Error()), zap.Int64("collectionID", collectionID))
log.Error("addCollection: save collectionInfo error", zap.Int64("nodeID", qn.id), zap.Int64("collectionID", collectionID), zap.Any("error", err.Error()))
return err
}
log.Debug("queryNode addCollection", zap.Int64("nodeID", qn.id), zap.Any("collectionInfo", newCollection))