Browse Source

Ignore all errors from services

master
Chris Smith 5 years ago
parent
commit
d86960626c
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      clean_registry.py

+ 1
- 3
clean_registry.py View File

@@ -218,10 +218,8 @@ class RegistryCleaner():
218 218
         # Is a service?
219 219
         try:
220 220
             service = self.docker.services.get(container_or_service)
221
-        except NotFound:
221
+        except:
222 222
             pass
223
-        except (APIError, exceptions.ConnectionError) as err:
224
-            error(err)
225 223
         else:
226 224
             # Get list of containers to pause them all
227 225
             try:

Loading…
Cancel
Save