[skip e2e]Fix function typo (#14320)

Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
This commit is contained in:
godchen 2021-12-27 18:49:11 +08:00 committed by GitHub
parent b8dcbf6604
commit ee6765e1db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ func (c *ChannelManager) Startup(nodes []int64) error {
}
}
offlines := c.getOfflines(nodes, olds)
offlines := c.getOffLines(nodes, olds)
for _, n := range offlines {
if err := c.DeleteNode(n); err != nil {
return err
@ -187,7 +187,7 @@ func (c *ChannelManager) getNewOnlines(curr []int64, old []int64) []int64 {
return ret
}
func (c *ChannelManager) getOfflines(curr []int64, old []int64) []int64 {
func (c *ChannelManager) getOffLines(curr []int64, old []int64) []int64 {
mcurr := make(map[int64]struct{})
ret := make([]int64, 0, len(old))
for _, n := range curr {