Skip to content

Commit

Permalink
Merge pull request #1171 from fluxcd/backport-1170-to-release/v1.0.x
Browse files Browse the repository at this point in the history
[release/v1.0.x] Fix the helm cache arguments
  • Loading branch information
stefanprodan authored Jul 19, 2023
2 parents f115596 + cc7e1cf commit d536ab5
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 d536ab5

Please # to comment.