瀏覽代碼

etcdctl: Add a newline so that errors don't bleed into each other.

Rob Holland 9 年之前
父節點
當前提交
a00be40db2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      etcdctl/ctlv2/command/exec_watch_command.go

+ 1 - 1
etcdctl/ctlv2/command/exec_watch_command.go

@@ -97,7 +97,7 @@ func execWatchCommandFunc(c *cli.Context, ki client.KeysAPI) {
 			handleError(ExitServerError, err)
 		}
 		if resp.Node.Dir {
-			fmt.Fprintf(os.Stderr, "Ignored dir %s change", resp.Node.Key)
+			fmt.Fprintf(os.Stderr, "Ignored dir %s change\n", resp.Node.Key)
 			continue
 		}