Skip to content

Commit

Permalink
Dropped unecessary line
Browse files Browse the repository at this point in the history
  • Loading branch information
mdzraf committed Jul 9, 2024
1 parent 6d3ec9e commit ea09801
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions pkg/driver/controller_modify_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ const (
ModificationDeleteTag = "tagDeletion"
)

var driverManagedTags = map[string]bool{
"CSIVolumeName": true,
"CSIVolumeSnapshotName": true,
"ebs.csi.aws.com/cluster": true,
"kubernetes.io/cluster/X": true,
"extra-key": true,
}

type modifyVolumeRequest struct {
newSize int64
modifyDiskOptions cloud.ModifyDiskOptions
Expand Down Expand Up @@ -83,8 +75,7 @@ func (d *ControllerService) ModifyVolumeProperties(
}

_, err = d.modifyVolumeCoalescer.Coalesce(name, modifyVolumeRequest{
modifyDiskOptions: *&options.modifyDiskOptions,
modifyTagsOptions: options.modifyTagsOptions,
modifyDiskOptions: options.modifyDiskOptions,
})
if err != nil {
return nil, err
Expand Down

0 comments on commit ea09801

Please sign in to comment.