Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Apr 8, 2024
1 parent 24d5ed3 commit 9b76de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container_manager/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9b76de9

Please sign in to comment.