Merge pull request #941 from amshinde/fix-go-compile-error

test: Fix compile error with go1.10.2
This commit is contained in:
Lantao Liu 2018-10-08 16:48:10 -07:00 committed by GitHub
commit 8b0d53c09c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()