]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/common: throw if fails to change config
authorKefu Chai <kchai@redhat.com>
Fri, 27 Jul 2018 11:47:24 +0000 (19:47 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 28 Jul 2018 13:01:52 +0000 (21:01 +0800)
commit54c0e4385b6086aabe0274ce96c3ea9a76f64c04
tree5768bc3997a1c49d2174c015241ecbc8f1797099
parent24a90d2d3a2bea5a377a674982f23666ad0f6aa8
crimson/common: throw if fails to change config

simpler this way, and this allows us to have more detailed error message
so we can present it to end-user. skipping the updating step if no
changes is made is nice to have, but changing settings is not in the
critical path. so let's keep it simple.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/common/config_proxy.h