mirror of https://github.com/docker/docs.git
Merge pull request #11025 from crosbymichael/test-rm-dev
Reinit slice for each dir in search
This commit is contained in:
commit
321f4f0683
|
@ -389,8 +389,8 @@ func TestSaveDirectoryPermissions(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
found := false
|
found := false
|
||||||
var entriesSansDev []string
|
|
||||||
for _, entry := range dirs {
|
for _, entry := range dirs {
|
||||||
|
var entriesSansDev []string
|
||||||
if entry.IsDir() {
|
if entry.IsDir() {
|
||||||
layerPath := filepath.Join(extractionDirectory, entry.Name(), "layer.tar")
|
layerPath := filepath.Join(extractionDirectory, entry.Name(), "layer.tar")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue