summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Mick <dan.mick@inktank.com>2013-08-16 13:15:34 -0700
committerDan Mick <dan.mick@inktank.com>2013-08-16 16:38:11 -0700
commit6f0a49829cac9c0528918c6cd2a6b03be717c422 (patch)
tree917643feead0e43bf75a6ce4e04f3a195a704b77
parent35565ee64e41d7fddc7849c6006692c78227132c (diff)
downloadceph-6f0a49829cac9c0528918c6cd2a6b03be717c422.tar.gz
config_opts: add two ceph-rest-api-only variables for convenience
These aren't used by the C++ code at all, but in order for rados_conf_get to find them, they need to be listed. They're consumed by ceph_rest_api. Signed-off-by: Dan Mick <dan.mick@inktank.com>
-rw-r--r--src/common/config_opts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/config_opts.h b/src/common/config_opts.h
index d933250f282..143a09be6e5 100644
--- a/src/common/config_opts.h
+++ b/src/common/config_opts.h
@@ -30,6 +30,8 @@ OPTION(daemonize, OPT_BOOL, false) // default changed by common_preinit()
OPTION(pid_file, OPT_STR, "") // default changed by common_preinit()
OPTION(chdir, OPT_STR, "/")
OPTION(max_open_files, OPT_LONGLONG, 0)
+OPTION(restapi_log_level, OPT_STR, "") // default set by Python code
+OPTION(restapi_base_url, OPT_STR, "") // "
OPTION(fatal_signal_handlers, OPT_BOOL, true)
OPTION(log_file, OPT_STR, "/var/log/ceph/$cluster-$name.log") // default changed by common_preinit()