mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Reinit slice for each dir in search
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
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