]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
config: Add templated _get_val for use in observers
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 5 Oct 2017 22:32:32 +0000 (18:32 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Sat, 7 Oct 2017 00:49:53 +0000 (20:49 -0400)
commita0a4c483bc1f4e50d5e7cde622aad01acbdec204
tree710f1609a54dae71e893edf4fc65ffd8b9b9a17c
parent31de198955695a7003c454fde503dfe66c9da860
config: Add templated _get_val for use in observers

When notified by a config observer, the config lock is already held,
create a _get_val template to manipulate newstyle options when
notified.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/config.cc
src/common/config.h