Daemons error out when they encounter an empty repository
bstempi opened this issue · 3 comments
bstempi commented
Recently, I had deleted all of the tags out of some given repository that I had set up for a test. The repository still shows up when calling /v2/_catalog
. If you were to call /v2/REPONAME/tags/list
, you'd get a 404 because there are no tags for this repo.
This 404 causes the checker daemon to stop working. It'll read the tags in each repo until it gets to the empty one. In my case, I removed the repository and the checker was able to continue, but the checker shouldn't choke on a 404 like that. It should be expected that some repos are empty.
Evedel commented
@bstempi Thank you for the report. If you are still interested, I assume, now this problem was fixed.
bstempi commented
👍 I'll test it when I get a chance.