diff options
author | Artem Pervin <artem.pervin@kaspersky.com> | 2016-12-01 11:20:58 -0500 |
---|---|---|
committer | Artem Pervin <artem.pervin@kaspersky.com> | 2016-12-01 11:20:58 -0500 |
commit | 8df95d53bfd5dc892e69364dfe87ecf95c6897a2 (patch) | |
tree | 9e6e631eff3fecc581214dea24ec2017379e0097 /test | |
parent | 9ace3ba9fc1b2a1a7096e4fe62d9867f737cff1d (diff) |
1394: fixed typo
Diffstat (limited to 'test')
-rw-r--r-- | test/rebar_utils_SUITE.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rebar_utils_SUITE.erl b/test/rebar_utils_SUITE.erl index 57b6474..dd92bbf 100644 --- a/test/rebar_utils_SUITE.erl +++ b/test/rebar_utils_SUITE.erl @@ -303,9 +303,9 @@ proxy_auth(_Config, ProxyEnvKey) -> rebar_utils:get_proxy_auth()), %% restore original proxy specification if any - restore_proxy_env(OldProxySpec). + restore_proxy_env(ProxyEnvKey, OldProxySpec). -restore_proxy_env(false) -> +restore_proxy_env(_, false) -> ok; -restore_proxy_env(ProxySpec) -> - os:putenv("http_proxy", ProxySpec). +restore_proxy_env(ProxyEnvKey, ProxySpec) -> + os:putenv(ProxyEnvKey, ProxySpec). |