mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 04:31:28 +00:00
Merge pull request #11025 from crosbymichael/test-rm-dev
Reinit slice for each dir in search
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user