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": {
|
"SubnetId": {
|
||||||
"Ref": "AWSEC2Subnetustest1acomplexexamplecom"
|
"Ref": "AWSEC2Subnetustest1acomplexexamplecom"
|
||||||
},
|
}
|
||||||
"AllocationId": null,
|
|
||||||
"PrivateIPv4Address": null
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Type": "network",
|
"Type": "network",
|
||||||
|
|
|
||||||
|
|
@ -813,8 +813,8 @@ type cloudformationNetworkLoadBalancer struct {
|
||||||
|
|
||||||
type cloudformationSubnetMapping struct {
|
type cloudformationSubnetMapping struct {
|
||||||
Subnet *cloudformation.Literal `json:"SubnetId"`
|
Subnet *cloudformation.Literal `json:"SubnetId"`
|
||||||
AllocationId *string `json:"AllocationId"`
|
AllocationId *string `json:"AllocationId,omitempty"`
|
||||||
PrivateIPv4Address *string `json:"PrivateIPv4Address"`
|
PrivateIPv4Address *string `json:"PrivateIPv4Address,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type cloudformationNetworkLoadBalancerListener struct {
|
type cloudformationNetworkLoadBalancerListener struct {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue