From b028dc39188b5258fc30f5ffb591069175033596 Mon Sep 17 00:00:00 2001 From: congqixia Date: Fri, 15 Oct 2021 20:44:38 +0800 Subject: [PATCH] [skip ci] Fix golint issue for datacoord/channel_store.go (#9995) Signed-off-by: Congqi Xia --- internal/datacoord/channel_store.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/datacoord/channel_store.go b/internal/datacoord/channel_store.go index 9013601156..2c47bf3714 100644 --- a/internal/datacoord/channel_store.go +++ b/internal/datacoord/channel_store.go @@ -20,10 +20,13 @@ const ( var errUnknownOpType error = errors.New("unknown operation type") +// ChannelOpType type alias uses int8 stands for Channel operation type type ChannelOpType int8 const ( + // Add const value for Add Channel operation type Add ChannelOpType = iota + // Delete const value for Delete Channel operation type Delete )