stacklok/frizbee

Add logging for update fails

Aperta

#140 aperta il 4 giu 2024

 (3 commenti) (0 reazioni) (0 assegnatari)Go (24 fork)auto 404
P2enhancementgood first issue

Metriche repository

Star
 (186 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

At the moment it seems Frizbee will just fail silently if it can't get a digest e.g. because of auth or network issues. I think it would be worth logging this to stderr.

For example:

FROM redis:invalid_image_tag

is clearly an image reference, but will just be ignored.

I guess this is the place in the code?

https://github.com/stacklok/frizbee/blob/main/pkg/replacer/replacer.go#L303

Guida contributor