[skip e2e]Fix variable typo (#14327)

Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
pull/14321/head
godchen 2021-12-31 15:47:19 +08:00 committed by GitHub
parent b8e0e5827a
commit f0e6e190df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -98,8 +98,8 @@ func (c *ChannelManager) Startup(nodes []int64) error {
olds = append(olds, c.NodeID)
}
newOnlines := c.getNewOnlines(nodes, olds)
for _, n := range newOnlines {
newOnLines := c.getNewOnlines(nodes, olds)
for _, n := range newOnLines {
if err := c.AddNode(n); err != nil {
return err
}
@ -117,7 +117,7 @@ func (c *ChannelManager) Startup(nodes []int64) error {
log.Debug("cluster start up",
zap.Any("nodes", nodes),
zap.Any("olds", olds),
zap.Int64s("new onlines", newOnlines),
zap.Int64s("new onlines", newOnLines),
zap.Int64s("offLines", offlines))
return nil
}