mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 14:41:33 +02:00
Remove nothing to do flag for migration.
This commit is contained in:
@@ -151,10 +151,6 @@ func (r *EBSVolumeResizer) ModifyVolume(volumeID string, newType string, newSize
|
||||
if *vol.VolumeId != volumeID {
|
||||
return fmt.Errorf("describe volume %q returned information about a non-matching volume %q", volumeID, *vol.VolumeId)
|
||||
}
|
||||
if *vol.Size == newSize {
|
||||
// nothing to do
|
||||
return nil
|
||||
}
|
||||
|
||||
input := ec2.ModifyVolumeInput{Size: &newSize, VolumeId: &volumeID, VolumeType: &newType, Iops: &iops, Throughput: &throughput}
|
||||
output, err := r.connection.ModifyVolume(&input)
|
||||
|
||||
Reference in New Issue
Block a user