From 760296234126b8907e985a106e11a278636f4f34 Mon Sep 17 00:00:00 2001 From: dragondriver Date: Tue, 19 Oct 2021 14:13:12 +0800 Subject: [PATCH] [skip ci] Add comment for proxy (#10143) Signed-off-by: dragondriver --- internal/proxy/impl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/proxy/impl.go b/internal/proxy/impl.go index 2f9f0312f..0d714f6b5 100644 --- a/internal/proxy/impl.go +++ b/internal/proxy/impl.go @@ -39,6 +39,7 @@ import ( "github.com/milvus-io/milvus/internal/util/typeutil" ) +// UpdateStateCode updates the state code of Proxy. func (node *Proxy) UpdateStateCode(code internalpb.StateCode) { node.stateCode.Store(code) } -- GitLab