]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
AuthMonitor: refactor valid_caps() 52008/head
authorRishabh Dave <ridave@redhat.com>
Fri, 16 Jun 2023 19:19:39 +0000 (00:49 +0530)
committerRishabh Dave <ridave@redhat.com>
Mon, 19 Jun 2023 11:28:58 +0000 (16:58 +0530)
commit8627af3e0adcb765a3c249fcc209cba9f4873e1b
treee98f10b62616191b004c39d033d8e851612d08b9
parent9d3dd63590a4d87b0b74104d8006954ce7ef8ae4
AuthMonitor: refactor valid_caps()

Since PR #50874 has been merged, this method can do the exact same job
in much lesser code.

Also since we are here, let's rename variable "type" to "entity".

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