diff options
Diffstat (limited to 'weed/shell/command_cluster_raft_add.go')
| -rw-r--r-- | weed/shell/command_cluster_raft_add.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_cluster_raft_add.go b/weed/shell/command_cluster_raft_add.go index 6089631b1..eb75f8b15 100644 --- a/weed/shell/command_cluster_raft_add.go +++ b/weed/shell/command_cluster_raft_add.go @@ -52,7 +52,7 @@ func (c *commandRaftServerAdd) Do(args []string, commandEnv *CommandEnv, writer Voter: *serverVoter, }) if err != nil { - return fmt.Errorf("raft add server: %v", err) + return fmt.Errorf("raft add server: %w", err) } println("added server", *serverId) return nil |
