diff --git a/integration-cli/docker_cli_save_load_test.go b/integration-cli/docker_cli_save_load_test.go index 9897beb8f0..1dd71ee5fe 100644 --- a/integration-cli/docker_cli_save_load_test.go +++ b/integration-cli/docker_cli_save_load_test.go @@ -389,8 +389,8 @@ func TestSaveDirectoryPermissions(t *testing.T) { } found := false - var entriesSansDev []string for _, entry := range dirs { + var entriesSansDev []string if entry.IsDir() { layerPath := filepath.Join(extractionDirectory, entry.Name(), "layer.tar")