From 9b76de9b199b9237ae8264da3f792b5f3b80c100 Mon Sep 17 00:00:00 2001 From: Tanmoy Sarkar <57363826+tanmoysrt@users.noreply.github.com> Date: Mon, 8 Apr 2024 17:01:18 +0530 Subject: [PATCH] fix: typo --- container_manager/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container_manager/node.go b/container_manager/node.go index 5299a81083..c561586345 100644 --- a/container_manager/node.go +++ b/container_manager/node.go @@ -37,7 +37,7 @@ func (m Manager) RemoveNode(hostname string) error { // fetch all the nodes nodes, err := m.client.NodeList(m.ctx, types.NodeListOptions{}) if err != nil { - return errors.New("error fetching swarm nodes ") + return errors.New("error fetching swarm nodes list") } // check if the hostname is in the list of nodes for _, node := range nodes {