forked from TrueCloudLab/frostfs-node
[#424] metrics: Drop unused arg
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
fb8fee0c8e
commit
71bbeddb64
2 changed files with 3 additions and 4 deletions
|
@ -800,7 +800,7 @@ func (c *Client) getTransactionHeight(h util.Uint256) (uint32, error) {
|
|||
success := false
|
||||
startedAt := time.Now()
|
||||
defer func() {
|
||||
c.cache.metrics.AddTxHeightDuration(h, success, time.Since(startedAt))
|
||||
c.cache.metrics.AddTxHeightDuration(success, time.Since(startedAt))
|
||||
}()
|
||||
|
||||
if rh, ok := c.cache.txHeights.Get(h); ok {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue