Skip to content

Commit

Permalink
Merge pull request #1170 from fluxcd/fix-helm-cache-args
Browse files Browse the repository at this point in the history
Fix the helm cache arguments
  • Loading branch information
stefanprodan committed Jul 19, 2023
2 parents cb4b660 + 1260da9 commit 7f40be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ func mustSetupHelmLimits(indexLimit, chartLimit, chartFileLimit int64) {
helm.MaxChartFileSize = chartFileLimit
}

func mustInitHelmCache(maxSize int, purgeInterval, itemTTL string) (*cache.Cache, time.Duration) {
func mustInitHelmCache(maxSize int, itemTTL, purgeInterval string) (*cache.Cache, time.Duration) {
if maxSize <= 0 {
setupLog.Info("caching of Helm index files is disabled")
return nil, -1
Expand Down

0 comments on commit 7f40be7

Please sign in to comment.