mirror of
https://github.com/containers/podman.git
synced 2025-05-21 09:05:56 +08:00
fix: unifiedOverlays should be assigned if no conflicts found.
[NO TESTS NEEDED] Signed-off-by: flouthoc <flouthoc.git@gmail.com>
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user