Skip to content

Commit

Permalink
etcdctl: fix migrate in outputing client.Node to json
Browse files Browse the repository at this point in the history
  • Loading branch information
hongchaodeng committed Oct 20, 2016
1 parent 6b1b13e commit d1d2e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/command/migrate_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func writeKeys(w io.Writer, n *store.NodeExtern) uint64 {
if err != nil {
ExitWithError(ExitError, err)
}
fmt.Fprintf(w, string(b))
fmt.Fprintln(w, string(b))
for _, nn := range nodes {
max := writeKeys(w, nn)
if max > maxIndex {
Expand Down

0 comments on commit d1d2e46

Please sign in to comment.