mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
use fmt.Fprintf instead of fmt.Fprint
fmt.Fprint does not allow format strings
This commit is contained in:
parent
15c3096e89
commit
3b8c2417fb
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ func (srv *Server) CmdLogin(stdin io.ReadCloser, stdout io.Writer, args ...strin
|
|||
}
|
||||
if err != nil {
|
||||
if err != io.EOF {
|
||||
fmt.Fprint(stdout, "Read error: %v\n", err)
|
||||
fmt.Fprintf(stdout, "Read error: %v\n", err)
|
||||
}
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue