Address incorrect table metric value for local mounts (#14755)
* Address incorrect table metric value for local mounts - Reported within issue #14750 as a panic, it was identified that we were using the wrong value for local mounts within the table metrics. * Add changelog
This commit is contained in:
parent
c3f7bf6940
commit
77feaad6fe
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
core/metrics: Fix incorrect table size metric for local mounts
|
||||
```
|
|
@ -1035,7 +1035,7 @@ func (c *Core) loadMounts(ctx context.Context) error {
|
|||
return err
|
||||
}
|
||||
if localMountTable != nil && len(localMountTable.Entries) > 0 {
|
||||
c.tableMetrics(len(localMountTable.Entries), true, false, raw.Value)
|
||||
c.tableMetrics(len(localMountTable.Entries), true, false, rawLocal.Value)
|
||||
c.mounts.Entries = append(c.mounts.Entries, localMountTable.Entries...)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue