Przeglądaj źródła

Ignore all errors from services

master
Chris Smith 5 lat temu
rodzic
commit
d86960626c
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1
    3
      clean_registry.py

+ 1
- 3
clean_registry.py Wyświetl plik

@@ -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:

Ładowanie…
Anuluj
Zapisz