modify to improve code readability

Signed-off-by: WangPing <present.wp@icloud.com>

align

Signed-off-by: WangPing <present.wp@icloud.com>

align

Signed-off-by: WangPing <present.wp@icloud.com>
This commit is contained in:
WangPing 2016-11-07 16:17:04 +08:00
parent db706f3c38
commit 713c7cd81e
1 changed files with 4 additions and 8 deletions

View File

@ -138,11 +138,6 @@ func runBuild(dockerCli *command.DockerCli, options buildOptions) error {
var (
buildCtx io.ReadCloser
err error
)
specifiedContext := options.context
var (
contextDir string
tempDir string
relDockerfile string
@ -150,6 +145,7 @@ func runBuild(dockerCli *command.DockerCli, options buildOptions) error {
buildBuff io.Writer
)
specifiedContext := options.context
progBuff = dockerCli.Out()
buildBuff = dockerCli.Out()
if options.quiet {