Skip to content

Commit b44cfd3

Browse files
committed
Fix backport of #4512 into release-2.2
1 parent e2df61e commit b44cfd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/awsmachine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ func (r *AWSMachineReconciler) ensureStorageTags(ec2svc services.EC2Interface, i
11261126
}
11271127
annotations[volumeID] = newAnnotation
11281128
} else {
1129-
newAnnotation, err := r.ensureVolumeTags(ec2svc, aws.String(volumeID), make(map[string]interface{}), machine.Spec.AdditionalTags)
1129+
newAnnotation, err := r.ensureVolumeTags(ec2svc, aws.String(volumeID), make(map[string]interface{}), additionalTags)
11301130
if err != nil {
11311131
r.Log.Error(err, "Failed to fetch the changed volume tags in EC2 instance")
11321132
}

0 commit comments

Comments
 (0)