-
Notifications
You must be signed in to change notification settings - Fork 124
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
AWS SDK migration from v1 to v2 #262
Conversation
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.
✅ LGTM, except few trivial comments. Thanks for looking into this 🚀
svc := ecs.New(session.New(), &config) | ||
svc := ecs.NewFromConfig(cfg, func(o *ecs.Options) { | ||
if endpoint != "" { | ||
o.BaseEndpoint = aws.String(endpoint) |
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.
A high level observation, the logging is degraded.
o.BaseEndpoint = aws.String(endpoint) | |
o.BaseEndpoint = aws.String(endpoint) | |
l.Printf("[INFO] discover-aws: Endpoint is %s", endpoint) |
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.
Updated the log statements.
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.
LGTM
🚀 |
What has changed?