Skip to content
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

Merged

Conversation

r0fls
Copy link

@r0fls r0fls commented Nov 17, 2017

Picking up where #218 was left off.

@r0fls r0fls changed the title WIP: Configurable Attributes Configurable Attributes Nov 17, 2017
@r0fls r0fls force-pushed the accesslogging branch 3 times, most recently from a169c7d to e824d4d Compare November 17, 2017 06:51
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())

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/tags/attributes/

@masterzen masterzen mentioned this pull request Nov 30, 2017
@joshrosso joshrosso merged commit d4d7fd9 into kubernetes-sigs:continued_stabilization Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants