From 54738d2ac5d451b5fc779f064afd8c7d2aca0a22 Mon Sep 17 00:00:00 2001 From: congqixia Date: Sat, 30 Oct 2021 21:08:00 +0800 Subject: [PATCH] [skip ci] Fix lint for datacoord/channel_store.og (#10964) Signed-off-by: Congqi Xia --- internal/datacoord/channel_store.go | 1 + 1 file changed, 1 insertion(+) 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)