ctdb-common: Correctly handle conf->reload()
authorAmitay Isaacs <amitay@gmail.com>
Mon, 25 Jun 2018 02:56:45 +0000 (12:56 +1000)
committerMartin Schwenke <martins@samba.org>
Fri, 29 Jun 2018 13:12:37 +0000 (15:12 +0200)
commite84b5020a410b9c2cf736efee60ee704f8ea8f9c
treebede753cdee4c85496c6c3de0de6bec79eb0c293
parentb6b1226d394445c21e01fdf3010642c85dbe85dd
ctdb-common: Correctly handle conf->reload()

Configuration reload should reset the values of configuration options
missing from the config file to default.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Jun 29 15:12:37 CEST 2018 on sn-devel-144
ctdb/common/conf.c
ctdb/tests/cunit/conf_test_001.sh
ctdb/tests/src/conf_test.c