optiopay / klar

Integration of Clair and Docker Registry
MIT License
505 stars 138 forks source link

Fix edgecase if token is specified and not needed #93

Closed jaumann closed 6 years ago

jaumann commented 6 years ago

If token is specified (for a private registry, for example), but not correct (i.e. the image is for the public docker registry), but we can obtain a proper token (like if the image is in a public docker registry), we should ignore the passed in token and get the proper token.