mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
* Revert "Fix option change detection / force support for docker_volume. (#47390)"
This reverts commit 8ef994fbc5.
* Update changelog.
* Adjusting tests.
This commit is contained in:
committed by
Adam Miller
parent
fd56788a14
commit
0e7a9a2771
@@ -249,7 +249,7 @@ class DockerVolumeManager(object):
|
||||
differences = self.has_different_config()
|
||||
|
||||
self.diff_tracker.add('exists', parameter=True, active=self.existing_volume is not None)
|
||||
if not differences.empty or self.parameters.force:
|
||||
if not differences.empty and self.parameters.force:
|
||||
self.remove_volume()
|
||||
self.existing_volume = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user