Merge pull request #2609 from dnephin/dont_warn_on_container_volume
Don't warn when the container volume is a compose option
This commit is contained in:
commit
fc57fc1dc1
2 changed files with 13 additions and 0 deletions
|
|
@ -887,6 +887,7 @@ def warn_on_masked_volume(volumes_option, container_volumes, service):
|
|||
|
||||
for volume in volumes_option:
|
||||
if (
|
||||
volume.external and
|
||||
volume.internal in container_volumes and
|
||||
container_volumes.get(volume.internal) != volume.external
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue