]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/config: fix rm_val error codes
authorSage Weil <sage@redhat.com>
Mon, 4 Jun 2018 15:59:51 +0000 (10:59 -0500)
committerSage Weil <sage@redhat.com>
Mon, 4 Jun 2018 16:07:45 +0000 (11:07 -0500)
commit4f957a4ad7fb7029435f38a1da086d59f34f3428
tree757e63425fdf16cfa98d981c74f9c78d980f7ae0
parenteb358bc52fe21e96b1ee65505dcbeb271258b94c
common/config: fix rm_val error codes

EINVAL if the config option is invalid.
ENOENT if the config option wasn't set.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config.cc