Skip to content

Commit d1da3f5

Browse files
authored
Merge pull request #3310 from k8s-infra-cherrypick-robot/cherry-pick-3302-to-release-1.8
[release-1.8] Fixing assignment
2 parents 4561a08 + 5c31391 commit d1da3f5

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)