-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable Attributes #267
Configurable Attributes #267
Conversation
a169c7d
to
e824d4d
Compare
lb.logger.Infof("Start ELBV2 tag modification.") | ||
if err := albelbv2.ELBV2svc.UpdateAttributes(lb.Current.LoadBalancerArn, lb.DesiredAttributes); err != nil { | ||
rOpts.Eventf(api.EventTypeWarning, "ERROR", "%s tag modification failed: %s", *lb.Current.LoadBalancerName, err.Error()) | ||
lb.logger.Errorf("Failed ELBV2 (ALB) tag modification: %s", err.Error()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It needs to return the err here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
pkg/aws/elbv2/elbv2.go
Outdated
@@ -220,3 +249,14 @@ func (e *ELBV2) UpdateTags(arn *string, old util.Tags, new util.Tags) error { | |||
|
|||
return nil | |||
} | |||
|
|||
// UpdateAttributes compares the new (desired) attributes against the old (current) tags. It then adds and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/tags/attributes/
Picking up where #218 was left off.