Skip to content

Commit

Permalink
Fix upstream timeout test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedram Sadeghian committed Mar 18, 2024
1 parent b0130ea commit daabb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/auth/authenticator.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func (a *Authenticator) checkServiceUpstreamAuth(service WebservicesCacheEntry,
labels := AddWithDownstreamDeadlineLabel(AddStatusLabel(nil, resp.StatusCode), hasDownstreamDeadline)
upstreamAuthRequestDuration.With(labels).Observe(reqDuration.Seconds())
} else {
labels := AddWithDownstreamDeadlineLabel(AddStatusLabel(nil, resp.StatusCode), hasDownstreamDeadline)
labels := AddWithDownstreamDeadlineLabel(nil, hasDownstreamDeadline)
upstreamAuthFailedRequests.With(labels).Inc()
}

Expand Down

0 comments on commit daabb36

Please sign in to comment.