Fix unregister in datacoord cluster (#16182)

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/16194/head
XuanYang-cn 2022-03-25 12:09:25 +08:00 committed by GitHub
parent 0d16ecf0dd
commit a00968fdfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ func (c *Cluster) UnRegister(node *NodeInfo) error {
if err == nil {
metrics.DataCoordNumDataNodes.WithLabelValues().Dec()
}
return c.channelManager.DeleteNode(node.NodeID)
return err
}
// Watch tries to add a channel in datanode cluster