]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon,cephfs: small improvement for health warning methods
authorRishabh Dave <ridave@redhat.com>
Thu, 6 Feb 2025 13:52:36 +0000 (19:22 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 6 Feb 2025 16:35:28 +0000 (22:05 +0530)
commit5ee832185b19cee270dc462dca4d73328cc13c2b
treeebcd84ff7154957cd1eb2864e21ccc7829a704f6
parent59511e65868ea7ea0069a148d0e55c987bf61be7
mon,cephfs: small improvement for health warning methods

Use const qualifier since warnings vector won't be modified by the
helper methods and use also use a reference instead of a regular
variable.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/mon/MDSMonitor.cc
src/mon/MDSMonitor.h