]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
global/pidfile: pass string_view instead of ConfigProxy to pidfile_write()
authorKefu Chai <kchai@redhat.com>
Mon, 6 May 2019 13:04:25 +0000 (21:04 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 6 May 2019 13:04:27 +0000 (21:04 +0800)
commit89d62afcdfbd0613627abba269424280f1c471c1
tree83c854a87f175a2c52aeb8b4ae648b277f5245bb
parentba970314fe22fdd59793a16ff87245e448e5de4e
global/pidfile: pass string_view instead of ConfigProxy to pidfile_write()

there is no need to pass ConfigProxy to this function. and passing a
string_view also make it easier to reuse this function.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/global/global_init.cc
src/global/pidfile.cc
src/global/pidfile.h