-
Notifications
You must be signed in to change notification settings - Fork 32
Fix profile loading when passed an explicit profile #112
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
Conversation
|
Hi @jtanx , Thanks for the PR! Can you rebase and merge with the v1.4-andium branch and target that as your base branch? That should fix the build error. |
|
ah yep, done |
Profiles should be read out of the config file, not credentials file
|
Are there instructions for running the minio tests locally? |
|
Alright I just ran the actions on my fork and the tests work now. |
|
@Tmonster any chance for another review? |
|
@Tmonster +1! |
Tmonster
left a comment
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 thanks!
| // get the profile from within that file | ||
| Aws::Map<Aws::String, Aws::Config::Profile> profiles; | ||
| Aws::Config::AWSConfigFileProfileConfigLoader loader(credentials_file_path); | ||
| Aws::Config::AWSConfigFileProfileConfigLoader loader(config_file_path, true); |
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.
Maybe in the future we will want a setting for the useProfilePrefix, but don't think that is needed here
|
Nice, thanks for reviewing; do I also need someone else to review to be able to merge? |
|
nope, thanks for the PR! |
Profiles should be read out of the config file, not credentials file
I believe this fixes #111