Skip to content

Commit

Permalink
Fix the reload condition
Browse files Browse the repository at this point in the history
  • Loading branch information
itaispiegel committed Aug 6, 2023
1 parent 18d8b7e commit ff1946b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/handler/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func PerformRollingUpgrade(clients kube.Clients, config util.Config, upgradeFunc
}
result := constants.NotUpdated
reloaderEnabled, err := strconv.ParseBool(reloaderEnabledValue)
if (err != nil && options.AutoReloadAll) || (err == nil && (reloaderEnabled || options.AutoReloadAll)) {
if err == nil && (reloaderEnabled || options.AutoReloadAll) {
result = invokeReloadStrategy(upgradeFuncs, i, config, true)
}

Expand Down

0 comments on commit ff1946b

Please sign in to comment.