Merge pull request #660 from cdrage/fix-vet

Fix vet issues with build/push code
This commit is contained in:
Charlie Drage 2017-06-20 12:55:50 -04:00 committed by GitHub
commit 507c9baa83

View File

@ -213,7 +213,7 @@ func BuildDockerImage(service kobject.ServiceConfig, name string, relativePath s
// Use the build struct function to build the image
// Build the image!
build := docker.Build{*client}
build := docker.Build{Client: *client}
err = build.BuildImage(imagePath, imageName)
if err != nil {
@ -240,7 +240,7 @@ func PushDockerImage(service kobject.ServiceConfig, serviceName string) error {
return err
}
push := docker.Push{*client}
push := docker.Push{Client: *client}
err = push.PushImage(service.Image)
if err != nil {