fix: online FS (#2558)

This commit is contained in:
Andrew Ferlitsch
2023-11-30 17:08:43 +00:00
committed by GitHub
parent 33793dbb78
commit f36ab8ef40
+4 -1
View File
@@ -36,7 +36,10 @@ def run_cleanup_managers(managers: List[ResourceCleanupManager], is_dry_run: boo
print(f"Fetching {type_name}'s...")
resources = manager.list()
print(f"Found {len(resources)} {type_name}'s")
try:
print(f"Found {len(resources)} {type_name}'s")
except Exception as e:
print(f"{type_name} {e}")
for resource in resources:
try:
if not manager.is_deletable(resource):