mirror of https://github.com/kubernetes/kops.git
Add back "omitempty" to cloudformation SubnetMapping
This commit is contained in:
parent
cc4aca62f4
commit
684ff3498e
|
|
@ -1253,9 +1253,7 @@
|
|||
{
|
||||
"SubnetId": {
|
||||
"Ref": "AWSEC2Subnetustest1acomplexexamplecom"
|
||||
},
|
||||
"AllocationId": null,
|
||||
"PrivateIPv4Address": null
|
||||
}
|
||||
}
|
||||
],
|
||||
"Type": "network",
|
||||
|
|
|
|||
|
|
@ -813,8 +813,8 @@ type cloudformationNetworkLoadBalancer struct {
|
|||
|
||||
type cloudformationSubnetMapping struct {
|
||||
Subnet *cloudformation.Literal `json:"SubnetId"`
|
||||
AllocationId *string `json:"AllocationId"`
|
||||
PrivateIPv4Address *string `json:"PrivateIPv4Address"`
|
||||
AllocationId *string `json:"AllocationId,omitempty"`
|
||||
PrivateIPv4Address *string `json:"PrivateIPv4Address,omitempty"`
|
||||
}
|
||||
|
||||
type cloudformationNetworkLoadBalancerListener struct {
|
||||
|
|
|
|||
Loading…
Reference in New Issue