mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb/pmda: fix num_recoveries metric store
The num_recoveries metric is declared as PM_TYPE_U32, so should be used accordingly. Suggested-by: Nathan Scott <nathans@redhat.com> Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
db4d72d21c
commit
b4aa16b9ed
@ -302,7 +302,7 @@ fill_base(unsigned int item, pmAtomValue *atom)
|
||||
atom->d = stats->childwrite_latency.max;
|
||||
break;
|
||||
case 22:
|
||||
atom->d = stats->num_recoveries;
|
||||
atom->ul = stats->num_recoveries;
|
||||
break;
|
||||
default:
|
||||
return PM_ERR_PMID;
|
||||
|
Loading…
Reference in New Issue
Block a user