Browse Source

Merge pull request #38490 from kolyshkin/test-rename-anon-ct

TestRenameAnonymousContainer: fix error msg
Sebastiaan van Stijn 6 years ago
parent
commit
2ee53a42db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      integration/container/rename_test.go

+ 1 - 1
integration/container/rename_test.go

@@ -165,7 +165,7 @@ func TestRenameAnonymousContainer(t *testing.T) {
 
 	inspect, err := client.ContainerInspect(ctx, cID)
 	assert.NilError(t, err)
-	assert.Check(t, is.Equal(0, inspect.State.ExitCode), "container %s exited with the wrong exitcode: %+v", cID, inspect)
+	assert.Check(t, is.Equal(0, inspect.State.ExitCode), "container %s exited with the wrong exitcode: %s", cID, inspect.State.Error)
 }
 
 // TODO: should be a unit test