Skip to content

Commit

Permalink
fix: print warning on missing digest in repo index
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoltzsche committed Feb 2, 2022
1 parent 68f7704 commit 79ecd15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/helm/locate.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func cacheFilePath(chartURL string, cv *repo.ChartVersion, cacheDir string) (str
digest := "none"
if len(cv.Digest) < 16 {
// not all the helm repository implementations populate the digest field (e.g. Nexus 3)
log.Printf("repo index entry for chart %q does not specify a digest", cv.Name)
log.Printf("WARNING: repo index entry for chart %q does not specify a digest", cv.Name)
} else {
digest = cv.Digest[:16]
}
Expand Down

0 comments on commit 79ecd15

Please sign in to comment.