api/client: var style tweak
Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
parent
e93a16ab48
commit
78a0105eaf
1 changed files with 4 additions and 2 deletions
|
@ -2055,8 +2055,10 @@ func (cli *DockerCli) CmdSave(args ...string) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
var output io.Writer = cli.out
|
||||
var err error
|
||||
var (
|
||||
output io.Writer = cli.out
|
||||
err error
|
||||
)
|
||||
if *outfile != "" {
|
||||
output, err = os.Create(*outfile)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue