Proxy registry: only check retries if there is a max
@@ -65,7 +65,6 @@ 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:
