Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Navarro Perez <[email protected]>
  • Loading branch information
ajnavarro committed Dec 6, 2022
1 parent e3369a4 commit cc967e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/swarm.go
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ func updateAndPersistConfig(env cmds.Environment, update func(*config.Config)) e
}
update(cfg)
if err := r.SetConfig(cfg); err != nil {
return fmt.Errorf("error removing peers from repo config: %w", err)
return fmt.Errorf("error setting config: %w", err)
}
return nil
}

0 comments on commit cc967e9

Please sign in to comment.