Skip to content

Commit

Permalink
Merge pull request harness#2385 from tboerger/fix-token-name
Browse files Browse the repository at this point in the history
Fixed wrong variable name
  • Loading branch information
bradrydzewski authored Mar 27, 2018
2 parents d78cadb + 398ca97 commit 5d72606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/metrics/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func PromHandler() gin.HandlerFunc {
handler := promhttp.Handler()

return func(c *gin.Context) {
token := server.Config.Prometheus.Token
token := server.Config.Prometheus.AuthToken

if token == "" {
handler.ServeHTTP(c.Writer, c.Request)
Expand Down

0 comments on commit 5d72606

Please sign in to comment.