Fix typo in comment (#26951)

Signed-off-by: unfode <forrest.futao.wei@gmail.com>
This commit is contained in:
Futao Wei 2023-09-09 08:13:16 -04:00 committed by GitHub
parent e5dab53eb2
commit ad1cc00a18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ func (node *Proxy) UpdateStateCode(code commonpb.StateCode) {
node.stateCode.Store(code) node.stateCode.Store(code)
} }
// GetComponentStates get state of Proxy. // GetComponentStates gets the state of Proxy.
func (node *Proxy) GetComponentStates(ctx context.Context) (*milvuspb.ComponentStates, error) { func (node *Proxy) GetComponentStates(ctx context.Context) (*milvuspb.ComponentStates, error) {
stats := &milvuspb.ComponentStates{ stats := &milvuspb.ComponentStates{
Status: merr.Status(nil), Status: merr.Status(nil),