diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/commandfuncs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/commandfuncs.go b/cmd/commandfuncs.go index 26b005bc2..b18f50908 100644 --- a/cmd/commandfuncs.go +++ b/cmd/commandfuncs.go @@ -669,7 +669,7 @@ func AdminAPIRequest(adminAddr, method, uri string, headers http.Header, body io } origin := "http://" + parsedAddr.JoinHostPort(0) if parsedAddr.IsUnixNetwork() { - origin = "unixsocket" // hack so that http.NewRequest() is happy + origin = "http://unixsocket" // hack so that http.NewRequest() is happy } // form the request |