fix - volume.name

This commit is contained in:
clore 2025-03-04 12:37:30 +03:00
parent 9ec9a14a0e
commit 5af4a5c635
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ def deploy(validated_containers, allowed_running_containers=[], can_run_partner_
all_use_volumes=list(dict.fromkeys(all_use_volumes))
for volume in local_volume_list:
if volume.name[:6]=="clore_" and not volume in all_use_volumes:
if volume.name[:6]=="clore_" and not volume.name in all_use_volumes:
try:
volume.remove()
except Exception as e: