[skip ci]Fix error log output format in segment_replica.go (#13350)

Signed-off-by: JackLCL <chenglong.li@zilliz.com>
This commit is contained in:
JackLCL 2021-12-14 16:51:09 +08:00 committed by GitHub
parent 1278e222d6
commit 30afcf2311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -296,7 +296,7 @@ func (replica *SegmentReplica) addNormalSegment(segID, collID, partitionID Uniqu
log.Warn("Mismatch collection",
zap.Int64("input ID", collID),
zap.Int64("expected ID", replica.collectionID))
return fmt.Errorf("Mismatch collection, ID=%d", collID)
return fmt.Errorf("mismatch collection, ID=%d", collID)
}
log.Debug("Add Normal segment",