Skip to content

Commit

Permalink
Merge pull request kubernetes#4548 from marwanad/patch-1
Browse files Browse the repository at this point in the history
fix scale set log formatter
  • Loading branch information
k8s-ci-robot authored Dec 22, 2021
2 parents 259c1ac + e0952eb commit 169501a
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 @@ -148,7 +148,7 @@ func (scaleSet *ScaleSet) getCurSize() (int64, error) {

// If VMSS state is updating, return the currentSize which would've been proactively incremented or decremented by CA
if set.VirtualMachineScaleSetProperties != nil && strings.EqualFold(to.String(set.VirtualMachineScaleSetProperties.ProvisioningState), string(compute.ProvisioningStateUpdating)) {
klog.V(3).Infof("VMSS % is in updating state, returning cached size: %d", scaleSet.Name, scaleSet.curSize)
klog.V(3).Infof("VMSS %q is in updating state, returning cached size: %d", scaleSet.Name, scaleSet.curSize)
return scaleSet.curSize, nil
}

Expand Down

0 comments on commit 169501a

Please sign in to comment.