[skip ci] Fix lint for datacoord/channel_store.og (#10964)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
congqixia 2021-10-30 21:08:00 +08:00 committed by GitHub
parent 2b07876827
commit 54738d2ac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -376,6 +376,7 @@ func (cu *ChannelOp) MarshalLogObject(enc zapcore.ObjectEncoder) error {
return nil
}
// MarshalLogArray implements the interface of ArrayMarshaler of zap
func (cos ChannelOpSet) MarshalLogArray(enc zapcore.ArrayEncoder) error {
for _, o := range cos {
enc.AppendObject(o)