aboutsummaryrefslogtreecommitdiff
path: root/ansible/module_utils/kolla_container_worker.py
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2025-09-10 07:44:04 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2025-10-28 11:26:36 +0000
commit3380770aeef5eebc4fd0dd1f7b6c36cde0c881fa (patch)
tree1ded558649c141bb80019d49ea92a71743e6ec16 /ansible/module_utils/kolla_container_worker.py
parent011034a141b385ed4c86fd832425e800484efdb6 (diff)
downloadkolla-ansible-3380770aeef5eebc4fd0dd1f7b6c36cde0c881fa.tar.gz
kolla-ansible-3380770aeef5eebc4fd0dd1f7b6c36cde0c881fa.zip
Bump ansible-core to 2.18/2.19
Bumped collections in requirements-core.yml to Ansible 12 major versions, see [1]. [1]: https://github.com/ansible-community/ansible-build-data/blob/main/12/ansible-12.1.0.yaml Depends-On: https://review.opendev.org/c/openstack/kolla/+/960307 Co-authored-by: Doug Szumski doug@stackhpc.com Change-Id: If8a29052d8a43ffc0fef11514adabb5e4ab9d977 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'ansible/module_utils/kolla_container_worker.py')
-rw-r--r--ansible/module_utils/kolla_container_worker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/module_utils/kolla_container_worker.py b/ansible/module_utils/kolla_container_worker.py
index 3e16ac2c9..d9d2bf714 100644
--- a/ansible/module_utils/kolla_container_worker.py
+++ b/ansible/module_utils/kolla_container_worker.py
@@ -410,7 +410,7 @@ class ContainerWorker(ABC):
vol_dict = dict()
for vol in volumes:
- if len(vol) == 0:
+ if not vol:
continue
if ':' not in vol: