test: Fix compile error with go1.10.2
Replace Skip with Skipf in the intergration test. Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
parent
e4f33828c3
commit
54b1c00b3b
@ -36,7 +36,7 @@ func TestImageLoad(t *testing.T) {
|
||||
loadedImage := "docker.io/library/" + testImage
|
||||
_, err := exec.LookPath("docker")
|
||||
if err != nil {
|
||||
t.Skip("Docker is not available: %v", err)
|
||||
t.Skipf("Docker is not available: %v", err)
|
||||
}
|
||||
t.Logf("docker save image into tarball")
|
||||
output, err := exec.Command("docker", "pull", testImage).CombinedOutput()
|
||||
|
Loading…
Reference in New Issue
Block a user