Merge PR #32830 into master

* refs/pull/32830/head:
	global: ensure CEPH_ARGS is decoded before early arg processing

Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2020-01-31 17:31:44 -06:00
commit b02c3ff18b

View File

@ -90,6 +90,9 @@ void global_pre_init(
std::string conf_file_list;
std::string cluster = "";
// ensure environment arguments are included in early processing
env_to_vec(args);
CephInitParameters iparams = ceph_argparse_early_args(
args, module_type,
&cluster, &conf_file_list);