Skip to content

Commit

Permalink
err message improve when ssh fail
Browse files Browse the repository at this point in the history
Signed-off-by: Lifubang <[email protected]>
  • Loading branch information
lifubang committed Oct 15, 2018
1 parent b9a1a21 commit 99f336a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/connhelper/connhelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (c *commandConn) onEOF(eof error) error {
c.stderrMu.Lock()
stderr := c.stderr.String()
c.stderrMu.Unlock()
return errors.Errorf("command %v has exited with %v, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=%q", c.cmd.Args, werr, stderr)
return errors.Errorf("command %v has exited with %v, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=%s", c.cmd.Args, werr, stderr)
}

func ignorableCloseError(err error) bool {
Expand Down

0 comments on commit 99f336a

Please sign in to comment.