diff options
author | flouthoc <flouthoc.git@gmail.com> | 2021-08-17 20:53:26 +0530 |
---|---|---|
committer | flouthoc <flouthoc.git@gmail.com> | 2021-08-17 20:53:32 +0530 |
commit | 1f632f35727f91558049d3b7ee78d9952c8bddb2 (patch) | |
tree | 6669e4714791e230b98df2831cee08ae90a7b6bd | |
parent | 3cee85531c43e7c66a6428b60b73925b2fcefcac (diff) | |
download | podman-1f632f35727f91558049d3b7ee78d9952c8bddb2.tar.gz podman-1f632f35727f91558049d3b7ee78d9952c8bddb2.tar.bz2 podman-1f632f35727f91558049d3b7ee78d9952c8bddb2.zip |
fix: unifiedOverlays should be assigned if no conflicts found.
[NO TESTS NEEDED]
Signed-off-by: flouthoc <flouthoc.git@gmail.com>
-rw-r--r-- | pkg/specgen/generate/storage.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/generate/storage.go b/pkg/specgen/generate/storage.go index 08836ec31..de655ad7d 100644 --- a/pkg/specgen/generate/storage.go +++ b/pkg/specgen/generate/storage.go @@ -117,7 +117,7 @@ func finalizeMounts(ctx context.Context, s *specgen.SpecGenerator, rt *libpod.Ru return nil, nil, nil, err } cleanDestination := filepath.Clean(v.Destination) - if _, ok := unifiedOverlays[cleanDestination]; ok { + if _, ok := unifiedOverlays[cleanDestination]; !ok { unifiedOverlays[cleanDestination] = v } } |