X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f29266f2fd9d2713f6b2666d13d4f706630b7215..dece16822124a86dd2f57b7d3b25ca1aa7d75600:/sdk/go/auth/auth.go diff --git a/sdk/go/auth/auth.go b/sdk/go/auth/auth.go index 3c266e0d3a..de3b1e9523 100644 --- 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 { - if c, ok := r.Context().Value(contextKeyCredentials).(*Credentials); ok { + if c, ok := r.Context().Value(ContextKeyCredentials).(*Credentials); ok { // preloaded by middleware return c }