Explorar el Código

Ignore all errors from services

master
Chris Smith hace 5 años
padre
commit
d86960626c
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1
    3
      clean_registry.py

+ 1
- 3
clean_registry.py Ver fichero

@@ -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…
Cancelar
Guardar