projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14538: Merge branch 'master' into 14538-async-write
[arvados.git]
/
sdk
/
go
/
health
/
aggregator.go
diff --git
a/sdk/go/health/aggregator.go
b/sdk/go/health/aggregator.go
index a6cb8798aa328a468c1db98c3c3e5bf38773f15c..564331327a8d53ad250b044112f25e1b07730444 100644
(file)
--- a/
sdk/go/health/aggregator.go
+++ b/
sdk/go/health/aggregator.go
@@
-217,7
+217,7
@@
func (agg *Aggregator) ping(url string, cluster *arvados.Cluster) (result CheckR
}
func (agg *Aggregator) checkAuth(req *http.Request, cluster *arvados.Cluster) bool {
}
func (agg *Aggregator) checkAuth(req *http.Request, cluster *arvados.Cluster) bool {
- creds := auth.
NewCredentialsFromHTTP
Request(req)
+ creds := auth.
CredentialsFrom
Request(req)
for _, token := range creds.Tokens {
if token != "" && token == cluster.ManagementToken {
return true
for _, token := range creds.Tokens {
if token != "" && token == cluster.ManagementToken {
return true