mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #11025 from crosbymichael/test-rm-dev
Reinit slice for each dir in search
This commit is contained in:
commit
321f4f0683
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue