Skip to content

Commit

Permalink
Set default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
Jont828 committed Mar 19, 2024
1 parent c16e0cd commit 8891d48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cluster-autoscaler/cloudprovider/azure/azure_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const (
// toggle
dynamicInstanceListDefault = false
enableVmssFlexDefault = false
enableForceDeleteDefault = false
)

// CloudProviderRateLimitConfig indicates the rate limit config for each clients.
Expand Down Expand Up @@ -310,6 +311,8 @@ func BuildAzureConfig(configReader io.Reader) (*Config, error) {
cfg.EnableForceDelete, err = strconv.ParseBool(enableForceDelete)
if err != nil {
return nil, fmt.Errorf("failed to parse AZURE_ENABLE_FORCE_DELETE: %q, %v", enableForceDelete, err)
} else {
cfg.EnableForceDelete = enableForceDeleteDefault
}
}

Expand Down

0 comments on commit 8891d48

Please sign in to comment.