projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
16171: Change issuer config to string to avoid trailing-slash pain.
[arvados.git]
/
sdk
/
go
/
arvados
/
client.go
diff --git
a/sdk/go/arvados/client.go
b/sdk/go/arvados/client.go
index 67e3f631174ce86741190a25aa4ce8a63864fd1f..1e2c07e867e84d6d6719fdd4f9298b005a86c6e9 100644
(file)
--- a/
sdk/go/arvados/client.go
+++ b/
sdk/go/arvados/client.go
@@
-186,7
+186,7
@@
func (c *Client) DoAndDecode(dst interface{}, req *http.Request) error {
return nil
case isRedirectStatus(resp.StatusCode):
// Copy the redirect target URL to dst.RedirectLocation.
return nil
case isRedirectStatus(resp.StatusCode):
// Copy the redirect target URL to dst.RedirectLocation.
- buf, err := json.Marshal(map[string]string{"
RedirectL
ocation": resp.Header.Get("Location")})
+ buf, err := json.Marshal(map[string]string{"
redirect_l
ocation": resp.Header.Get("Location")})
if err != nil {
return err
}
if err != nil {
return err
}