Skip to content

Commit

Permalink
exporting recluster function
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayja committed Apr 22, 2024
1 parent fbbc756 commit 6fef589
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deployment/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func (c *cluster) InfoQuiesce(hostsToBeQuiesced, hostIDs, removedNamespaces []st
}
}

if err := c.infoRecluster(hostIDs); err != nil {
if err := c.InfoRecluster(hostIDs); err != nil {
return err
}

Expand Down Expand Up @@ -718,10 +718,10 @@ func (c *cluster) InfoQuiesceUndo(hostIDs []string) error {
}
}

return c.infoRecluster(hostIDs)
return c.InfoRecluster(hostIDs)
}

func (c *cluster) infoRecluster(hostIDs []string) error {
func (c *cluster) InfoRecluster(hostIDs []string) error {
lg := c.log.WithValues("nodes", hostIDs)

lg.V(1).Info("Running recluster command")
Expand Down

0 comments on commit 6fef589

Please sign in to comment.