Merge pull request #242 from justinsb/hotfix_241

Temporarily ignore changes on the ASG
This commit is contained in:
Justin Santa Barbara 2016-08-02 10:04:24 -04:00 committed by GitHub
commit 0a8fe533bb
1 changed files with 7 additions and 0 deletions

View File

@ -186,6 +186,13 @@ func (_ *AutoscalingGroup) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *Autos
changes.Subnets = nil
}
// Temporary workaround for user-added tags, until we have #241
// TODO: Remove once we have #241
if changes.Tags != nil {
glog.Warning("Ignoring tag changes until we have #241: %v", changes.Tags)
changes.Tags = nil
}
empty := &AutoscalingGroup{}
if !reflect.DeepEqual(empty, changes) {
glog.Warningf("cannot apply changes to AutoScalingGroup: %v", changes)