stacklok/frizbee

Add logging for update fails

Aberta

#140 aberto em 4 de jun. de 2024

 (3 comentários) (0 reação) (0 responsável)Go (24 forks)auto 404
P2enhancementgood first issue

Métricas do repositório

Stars
 (186 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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

Guia do colaborador