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

TestRenameAnonymousContainer: fix error msg
This commit is contained in:
Sebastiaan van Stijn 2019-01-05 12:50:16 +01:00 committed by GitHub
commit 2ee53a42db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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