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

貢獻者指南