From 6fef589e1a20e05fde00b5095ac020ce5573b6ca Mon Sep 17 00:00:00 2001 From: Tanmay Jain Date: Mon, 22 Apr 2024 18:01:58 +0530 Subject: [PATCH] exporting recluster function --- deployment/cluster.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/cluster.go b/deployment/cluster.go index 9c6c2aa..5cf2ec3 100644 --- a/deployment/cluster.go +++ b/deployment/cluster.go @@ -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 } @@ -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")