mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 00:37:24 +00:00
unittest: tiny fix for incorrect parameters
Fixes #347 Signed-off-by: y00316549 <yangshukui@huawei.com>
This commit is contained in:
parent
086d197f2c
commit
c10db01599
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user