Skip to content

Commit

Permalink
Merge pull request #36 from 99designs/add-protocol-to-proxy
Browse files Browse the repository at this point in the history
Added protocol to http_proxy, fixes #33
  • Loading branch information
lox committed Oct 11, 2015
2 parents 87dd854 + de376f3 commit 0f14e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func ExecCommand(ui Ui, input ExecCommandInput) {
}

env := os.Environ()
env = overwriteEnv(env, "http_proxy", l.Addr().String())
env = overwriteEnv(env, "http_proxy", "http://"+l.Addr().String())
env = overwriteEnv(env, "no_proxy", "amazonaws.com")
env = overwriteEnv(env, "AWS_CONFIG_FILE", cfg.Name())
env = overwriteEnv(env, "AWS_DEFAULT_PROFILE", input.Profile)
Expand Down

0 comments on commit 0f14e84

Please sign in to comment.