rpc: fixed a typo (#24642)

This commit is contained in:
Tatsuya Shimoda
2022-04-05 16:45:20 +09:00
committed by GitHub
parent aa123939c2
commit 0654014652
2 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@ func (h *handler) handleCall(cp *callProc, msg *jsonrpcMessage) *jsonrpcMessage
if callb != h.unsubscribeCb {
rpcRequestGauge.Inc(1)
if answer.Error != nil {
failedReqeustGauge.Inc(1)
failedRequestGauge.Inc(1)
} else {
successfulRequestGauge.Inc(1)
}