Skip to content

Commit

Permalink
fix: setting getVmssSizeRefreshPeriod
Browse files Browse the repository at this point in the history
  • Loading branch information
tallaxes authored and comtalyst committed Dec 8, 2024
1 parent a3a96e5 commit f7b4db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/cloudprovider/azure/azure_scale_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func NewScaleSet(spec *dynamic.NodeGroupSpec, az *AzureManager, curSize int64, d
if az.config.GetVmssSizeRefreshPeriod != 0 {
scaleSet.getVmssSizeRefreshPeriod = time.Duration(az.config.GetVmssSizeRefreshPeriod) * time.Second
} else {
scaleSet.getVmssSizeRefreshPeriod = time.Duration(az.azureCache.refreshInterval) * time.Second
scaleSet.getVmssSizeRefreshPeriod = az.azureCache.refreshInterval
}

if az.config.EnableDetailedCSEMessage {
Expand Down

0 comments on commit f7b4db9

Please sign in to comment.