forked from TrueCloudLab/frostfs-node
[#948] metrics: Set actual value for shard_id
after restart
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
6a5769d1da
commit
0bd030507e
8 changed files with 27 additions and 1 deletions
|
@ -146,3 +146,7 @@ func (c *cache) Close() error {
|
|||
c.metrics.Close()
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *cache) GetMetrics() Metrics {
|
||||
return c.metrics
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue