mirror of https://github.com/kubernetes/kops.git
Add throughput field for gp3 volumes to mock
This commit is contained in:
parent
08b47801a5
commit
d18a02df73
|
@ -172,6 +172,7 @@ func (m *MockEC2) CreateLaunchTemplate(request *ec2.CreateLaunchTemplateInput) (
|
|||
Iops: x.Ebs.Iops,
|
||||
KmsKeyId: x.Ebs.KmsKeyId,
|
||||
SnapshotId: x.Ebs.SnapshotId,
|
||||
Throughput: x.Ebs.Throughput,
|
||||
VolumeSize: x.Ebs.VolumeSize,
|
||||
VolumeType: x.Ebs.VolumeType,
|
||||
}
|
||||
|
|
|
@ -47,6 +47,7 @@ func (m *MockEC2) CreateVolume(request *ec2.CreateVolumeInput) (*ec2.Volume, err
|
|||
KmsKeyId: request.KmsKeyId,
|
||||
Size: request.Size,
|
||||
SnapshotId: request.SnapshotId,
|
||||
Throughput: request.Throughput,
|
||||
VolumeType: request.VolumeType,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue