diff --git a/CHANGES/974.bugfix b/CHANGES/974.bugfix new file mode 100644 index 000000000..2bfd9bedb --- /dev/null +++ b/CHANGES/974.bugfix @@ -0,0 +1 @@ +Fixed an HTTP 404 response during sync from registry.redhat.io. diff --git a/pulp_container/app/downloaders.py b/pulp_container/app/downloaders.py index 28d5c1677..0553bc672 100644 --- a/pulp_container/app/downloaders.py +++ b/pulp_container/app/downloaders.py @@ -78,12 +78,12 @@ async def _run(self, handle_401=True, extra_data=None): self.registry_auth["bearer"] = None await self.update_token(response_auth_header, this_token, repo_name) - return await self._run(handle_401=False) + return await self._run(handle_401=False, extra_data=extra_data) elif "Basic" in response_auth_header: if self.remote.username: basic = aiohttp.BasicAuth(self.remote.username, self.remote.password) self.registry_auth["basic"] = basic.encode() - return await self._run(handle_401=False) + return await self._run(handle_401=False, extra_data=extra_data) else: raise to_return = await self._handle_response(response)