Browse Source

Fix commit 7a7b21c921

master
Ricardo Branco 6 years ago
parent
commit
ec86967e37
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      clean_registry.py

+ 3
- 3
clean_registry.py View File

@@ -11,7 +11,7 @@ NOTES:
11 11
   - This script may run stand-alone (on local setups) or dockerized (which supports remote Docker setups).
12 12
   - This script is Python 3 only.
13 13
 
14
-v1.3 by Ricardo Branco
14
+v1.3.1 by Ricardo Branco
15 15
 
16 16
 MIT License
17 17
 """
@@ -34,7 +34,7 @@ from docker.errors import APIError, NotFound, TLSParameterError
34 34
 
35 35
 import yaml
36 36
 
37
-VERSION = "1.3"
37
+VERSION = "1.3.1"
38 38
 REGISTRY_DIR = "REGISTRY_STORAGE_FILESYSTEM_ROOTREGISTRY_DIR"
39 39
 
40 40
 
@@ -197,8 +197,8 @@ class RegistryCleaner():
197 197
 
198 198
         if self.container is not None:
199 199
             self.docker.api.start(self.container)
200
-            self.docker.close()
201 200
 
201
+        self.docker.close()
202 202
         return exit_status
203 203
 
204 204
     def get_file(self, path):

Loading…
Cancel
Save