api/client: var style tweak

Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
Upstream-commit: 78a0105eaf80ed85e2ee236632a2cc16998228f9
Component: engine
This commit is contained in:
Vincent Batts
2014-03-19 17:09:12 -04:00
parent 2a0a13fcc3
commit 9fba82f5c1
+4 -2
View File
@@ -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 {