Skip to content
Snippets Groups Projects
Commit 6dbcb652 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

refactor(docker): graceful 403 handling

parent 805ed25d
No related branches found
No related tags found
No related merge requests found
......@@ -291,7 +291,7 @@ async function getTags(registry, repository) {
);
return getTags(registry, 'library/' + repository);
}
if (err.statusCode === 401) {
if (err.statusCode === 401 || err.statusCode === 403) {
logger.info(
{ registry, dockerRepository: repository, err },
'Not authorised to look up docker tags'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment