mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e]Fix function typo (#14320)
Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
This commit is contained in:
parent
b8dcbf6604
commit
ee6765e1db
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user