Skip to content

Commit

Permalink
Dial down warning level when asset is not found
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
justinsb committed Dec 6, 2024
1 parent d1681a4 commit c5b1834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/assets/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func (a *AssetBuilder) findHash(file *FileAsset) (*hashing.Hash, error) {
return knownHash, nil
}

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

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

0 comments on commit c5b1834

Please sign in to comment.