Skip to content

Commit

Permalink
Added protocol to http_proxy, fixes #33
Browse files Browse the repository at this point in the history
  • Loading branch information
lox committed Oct 11, 2015
1 parent 87dd854 commit de376f3
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 de376f3

Please sign in to comment.