stacklok/frizbee

Add logging for update fails

开放

#140 创建于 2024年6月4日

 (3 条评论) (0 个反应) (0 位负责人)Go (24 个派生)auto 404
P2enhancementgood first issue

仓库指标

星标
 (186 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南