mirror of https://github.com/kubernetes/kops.git
Fix spurious InternetGateway tag changes
This commit is contained in:
parent
8a476a6981
commit
842b42dc7b
|
|
@ -112,6 +112,11 @@ func (e *InternetGateway) Find(c *fi.Context) (*InternetGateway, error) {
|
|||
e.ID = actual.ID
|
||||
}
|
||||
|
||||
// We don't set the tags for a shared IGW
|
||||
if fi.BoolValue(e.Shared) {
|
||||
actual.Tags = e.Tags
|
||||
}
|
||||
|
||||
return actual, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue