Skip to content

Commit 1a249c1

Browse files
hakmanCiprian Hacman
authored andcommitted
Debug
Signed-off-by: Ciprian Hacman <[email protected]>
1 parent 81c06dd commit 1a249c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cluster-autoscaler/cloudprovider/azure/azure_scale_set.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,8 @@ func (scaleSet *ScaleSet) createOrUpdateInstances(vmssInfo *compute.VirtualMachi
483483
return nil
484484
}
485485

486-
if !errors.Is(err, context.DeadlineExceeded) {
486+
if !(errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded)) {
487+
klog.V(3).Infof("waitForCreateOrUpdateInstances for scale set %q failed: %+v", scaleSet.Name, err)
487488
return err
488489
}
489490

0 commit comments

Comments
 (0)