Merge pull request #348 from keloyang/pull-everytime

unittest: tiny fix for incorrect parameters
This commit is contained in:
James O. D. Hunt
2018-06-01 08:53:09 +01:00
committed by GitHub

View File

@@ -98,7 +98,7 @@ func init() {
fmt.Printf("INFO: ensuring required docker image (%v) is available\n", testDockerImage)
// Only hit the network if the image doesn't exist locally
_, err = runCommand([]string{"docker", "image", "inspect", testDockerImage})
_, err = runCommand([]string{"docker", "inspect", "--type=image", testDockerImage})
if err == nil {
fmt.Printf("INFO: docker image %v already exists locally\n", testDockerImage)
} else {