Skip to content

Commit c4d5577

Browse files
manishsatk8s-infra-cherrypick-robot
authored andcommitted
Fixing assignment
1 parent e1a34f2 commit c4d5577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure/services/scalesets/scalesets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ func (s *Service) patchVMSSIfNeeded(ctx context.Context, infraVMSS *azure.VMSS)
281281
// If the VMSS is managed by an external autoscaler, we should patch the VMSS if customData has changed.
282282
shouldPatchCustomData := false
283283
if s.Scope.HasReplicasExternallyManaged(ctx) {
284-
shouldPatchCustomData, err := s.Scope.HasBootstrapDataChanges(ctx)
284+
shouldPatchCustomData, err = s.Scope.HasBootstrapDataChanges(ctx)
285285
if err != nil {
286286
return nil, errors.Wrap(err, "unable to calculate custom data hash")
287287
}

0 commit comments

Comments
 (0)