-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: Update shared config loading to use os.UserHomeDir() (#1563)
Instead of hard-coding Windows and *nix environment variables, rely on os.UserHomeDir() to do the right thing. Ignore errors since those only happen in situations we don't care about (and didn't handle previously). Signed-off-by: Stephen Kitt <skitt@redhat.com> Co-authored-by: Jason Del Ponte <961963+jasdel@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"id": "4f325261-c632-499c-b3f4-464799763f58", | ||
"type": "bugfix", | ||
"description": "Updates `config` module to use os.UserHomeDir instead of hard coded environment variable for OS. [#1563](https://github.com/aws/aws-sdk-go-v2/pull/1563)", | ||
"modules": [ | ||
"config" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters