mirror of https://github.com/kubernetes/kops.git
- removing the unrequired line
This commit is contained in:
parent
0bd9126387
commit
8cde063f82
|
@ -112,7 +112,6 @@ func (i *BlockDeviceMapping) ToAutoscaling(deviceName string) *autoscaling.Block
|
||||||
Encrypted: i.EbsEncrypted,
|
Encrypted: i.EbsEncrypted,
|
||||||
VolumeSize: i.EbsVolumeSize,
|
VolumeSize: i.EbsVolumeSize,
|
||||||
VolumeType: i.EbsVolumeType,
|
VolumeType: i.EbsVolumeType,
|
||||||
Iops: i.EbsVolumeIops,
|
|
||||||
}
|
}
|
||||||
if fi.StringValue(o.Ebs.VolumeType) == ec2.VolumeTypeIo1 {
|
if fi.StringValue(o.Ebs.VolumeType) == ec2.VolumeTypeIo1 {
|
||||||
o.Ebs.Iops = i.EbsVolumeIops
|
o.Ebs.Iops = i.EbsVolumeIops
|
||||||
|
|
Loading…
Reference in New Issue