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

Signed-off-by: JackLCL <chenglong.li@zilliz.com>
This commit is contained in:
JackLCL 2021-12-08 13:55:04 +08:00 committed by GitHub
parent 0ba224dbf6
commit 73b63b9a02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,7 +230,7 @@ func (replica *SegmentReplica) addNewSegment(segID, collID, partitionID UniqueID
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 new segment",