projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14287: Remove zero/missing values when req uses select or count=none.
[arvados.git]
/
sdk
/
go
/
auth
/
auth.go
diff --git
a/sdk/go/auth/auth.go
b/sdk/go/auth/auth.go
index 3c266e0d3afda2254df6b3c7ccad7157a121bc6c..de3b1e9523467d754d1354d587b67a73a506bfef 100644
(file)
--- a/
sdk/go/auth/auth.go
+++ b/
sdk/go/auth/auth.go
@@
-20,7
+20,7
@@
func NewCredentials() *Credentials {
}
func CredentialsFromRequest(r *http.Request) *Credentials {
}
func CredentialsFromRequest(r *http.Request) *Credentials {
- if c, ok := r.Context().Value(
c
ontextKeyCredentials).(*Credentials); ok {
+ if c, ok := r.Context().Value(
C
ontextKeyCredentials).(*Credentials); ok {
// preloaded by middleware
return c
}
// preloaded by middleware
return c
}