Skip to content

Commit 1260da9

Browse files
committed
Fix the helm cache arguments
Index TTL and purge interval were switched in a recent refactor. Signed-off-by: Sunny <[email protected]>
1 parent cb4b660 commit 1260da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ func mustSetupHelmLimits(indexLimit, chartLimit, chartFileLimit int64) {
380380
helm.MaxChartFileSize = chartFileLimit
381381
}
382382

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

0 commit comments

Comments
 (0)