mirror of https://github.com/kubernetes/kops.git
- fixing a trivial bug which was causing a diff on the rollout
This commit is contained in:
parent
d417b1cd30
commit
abe01f602e
|
|
@ -124,6 +124,7 @@ func (i *BlockDeviceMapping) ToAutoscaling(deviceName string) *autoscaling.Block
|
|||
// BlockDeviceMappingFromLaunchTemplateBootDeviceRequest coverts the launch template device mappings to an interval block device mapping
|
||||
func BlockDeviceMappingFromLaunchTemplateBootDeviceRequest(i *ec2.LaunchTemplateBlockDeviceMapping) (string, *BlockDeviceMapping) {
|
||||
o := &BlockDeviceMapping{
|
||||
DeviceName: i.DeviceName,
|
||||
VirtualName: i.VirtualName,
|
||||
}
|
||||
if i.Ebs != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue