1
0
mirror of https://github.com/docker/cli.git synced 2026-01-15 07:40:57 +03:00

Reinit slice for each dir in search

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 8be8e41429a3af59df35a6b0281eefd2bb34e1b5
Component: engine
This commit is contained in:
Michael Crosby
2015-02-25 15:53:07 -08:00
parent 56a989cee4
commit 205614d416

View File

@@ -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")