Fix spurious InternetGateway tag changes

This commit is contained in:
Justin Santa Barbara 2018-03-12 01:03:58 -04:00
parent 8a476a6981
commit 842b42dc7b
1 changed files with 5 additions and 0 deletions

View File

@ -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
}