diff options
author | Paweł Gronowski <pawel.gronowski@docker.com> | 2022-07-22 19:02:08 +0200 |
---|---|---|
committer | Sebastiaan van Stijn <github@gone.nl> | 2022-08-16 13:01:48 +0200 |
commit | a4b28e23cfad94b5be5c014299d0aeaf79ac2f1f (patch) | |
tree | 5fded2d17d7dad51bd6efef3bc92019f7a84d572 /integration-cli/docker_cli_inspect_test.go | |
parent | 502d3a1fcb6e531d2dce143764cb559da1493dcf (diff) | |
download | docker-a4b28e23cfad94b5be5c014299d0aeaf79ac2f1f.tar.gz |
integration-cli: Correct emptyfs id under c8d
The legacy v1 is not supported by the containerd import
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'integration-cli/docker_cli_inspect_test.go')
-rw-r--r-- | integration-cli/docker_cli_inspect_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/integration-cli/docker_cli_inspect_test.go b/integration-cli/docker_cli_inspect_test.go index 6554792e01..0fe9106585 100644 --- a/integration-cli/docker_cli_inspect_test.go +++ b/integration-cli/docker_cli_inspect_test.go @@ -42,6 +42,12 @@ func (s *DockerCLIInspectSuite) TestInspectImage(c *testing.T) { // fails, fix the difference in the image serialization instead of // updating this hash. imageTestID := "sha256:11f64303f0f7ffdc71f001788132bca5346831939a956e3e975c93267d89a16d" + usesContainerdSnapshotter := false // TODO(vvoland): Check for feature flag + if usesContainerdSnapshotter { + // Under containerd ID of the image is the digest of the manifest list. + imageTestID = "sha256:e43ca824363c5c56016f6ede3a9035afe0e9bd43333215e0b0bde6193969725d" + } + id := inspectField(c, imageTest, "Id") assert.Equal(c, id, imageTestID) |