mirror of https://github.com/hashicorp/consul
fixup: remove label from RPC fail due to no servers
parent
06507fe053
commit
14e160573d
|
@ -294,7 +294,7 @@ TRY:
|
|||
retryCount++
|
||||
manager, server := c.router.FindLANRoute()
|
||||
if server == nil {
|
||||
metrics.IncrCounterWithLabels([]string{"client", "rpc", "failed"}, 1, []metrics.Label{{Name: "server", Value: "nil"}})
|
||||
metrics.IncrCounter([]string{"client", "rpc", "failed"}, 1)
|
||||
return structs.ErrNoServers
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue