Skip to content

Commit

Permalink
Merge pull request #796 from superhawk610/fix/config-overrides
Browse files Browse the repository at this point in the history
fix: prevent unrelated `awscli` config from leaking
  • Loading branch information
bernardd authored Jun 20, 2021
2 parents bfdbd53 + b6dd414 commit 3d151ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_aws/config.ex
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ defmodule ExAws.Config do

{k, v}, config ->
case retrieve_runtime_value(v, config) do
%{} = result -> Map.merge(config, result)
%{} = result -> Map.put(config, k, result[k])
value -> Map.put(config, k, value)
end
end)
Expand Down

0 comments on commit 3d151ed

Please sign in to comment.