fix - volume.name
This commit is contained in:
parent
9ec9a14a0e
commit
5af4a5c635
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue