Proxy registry: only increase retry counter if there is a max retries
@@ -65,6 +65,7 @@ class StorageProxy(StorageBase):
_log.info("status: {}, {}".format(status, str(status)))
if status != 200:
+ if self.max_retries != -1 :
self.retries += 1
if self.max_retries - self.retries != 0:
