Merge pull request #860 from harshavardhana/pr_out_let_localhost_also_have_its_access_keys_and_secret_id
This commit is contained in:
+2
-3
@@ -47,9 +47,8 @@ func getHostConfig(URL string) (*hostConfig, error) {
|
||||
}
|
||||
return hostCfg, nil
|
||||
}
|
||||
|
||||
// No host matching or keys needed for localhost and 127.0.0.1 URL's skip them
|
||||
if strings.Contains(url.Host, "localhost") || strings.Contains(url.Host, "127.0.0.1") {
|
||||
// No host matching or keys needed for 127.0.0.1 URL's skip them
|
||||
if strings.Contains(url.Host, "127.0.0.1") {
|
||||
hostCfg := &hostConfig{
|
||||
AccessKeyID: "",
|
||||
SecretAccessKey: "",
|
||||
|
||||
Reference in New Issue
Block a user