[skip ci] Add comment for proxy (#10143)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
dragondriver 2021-10-19 14:13:12 +08:00 committed by GitHub
parent a1902f5eec
commit 7602962341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}