mirror of
https://github.com/moby/moby.git
synced 2025-08-01 05:47:11 +03:00
integration-cli: add utility to check if snapshotters are enabled
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -42,8 +42,7 @@ 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 {
|
||||
if containerdSnapshotterEnabled() {
|
||||
// Under containerd ID of the image is the digest of the manifest list.
|
||||
imageTestID = "sha256:e43ca824363c5c56016f6ede3a9035afe0e9bd43333215e0b0bde6193969725d"
|
||||
}
|
||||
|
Reference in New Issue
Block a user