mirror of https://github.com/kubernetes/kops.git
Don't disassociate additional CIDRs for shared VPCs
This commit is contained in:
parent
25d736a995
commit
931cc48921
|
|
@ -202,7 +202,7 @@ func (_ *VPC) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *VPC) error {
|
|||
}
|
||||
|
||||
func (e *VPC) FindDeletions(c *fi.Context) ([]fi.Deletion, error) {
|
||||
if fi.StringValue(e.ID) == "" {
|
||||
if fi.IsNilOrEmpty(e.ID) || fi.BoolValue(e.Shared) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue