Skip to content

Commit 4d729d5

Browse files
Dial down warning level when asset is not found
We have to download the hash file for assets that are not well-known, but this is not an error, and this causes a lot of noise in our logs.
1 parent 94223d0 commit 4d729d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/assets/builder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ func (a *AssetBuilder) findHash(file *FileAsset) (*hashing.Hash, error) {
314314
return knownHash, nil
315315
}
316316

317-
klog.Infof("asset %q is not well-known, downloading hash", file.CanonicalURL)
317+
klog.V(2).Infof("asset %q is not well-known, downloading hash", file.CanonicalURL)
318318

319319
// We now prefer sha256 hashes
320320
for backoffSteps := 1; backoffSteps <= 3; backoffSteps++ {

0 commit comments

Comments
 (0)