diff --git a/internal/datacoord/channel_store.go b/internal/datacoord/channel_store.go index 9d8fa7dbfa..2ea1ec75b5 100644 --- a/internal/datacoord/channel_store.go +++ b/internal/datacoord/channel_store.go @@ -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)