Skip to content

Commit

Permalink
unittest: tiny fix for incorrect parameters
Browse files Browse the repository at this point in the history
Fixes kata-containers#347

Signed-off-by: y00316549 <[email protected]>
  • Loading branch information
y00316549 committed Jun 1, 2018
1 parent 086d197 commit c10db01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c10db01

Please sign in to comment.