Merge pull request #19689 from chnmagnus/wip-bug-on-config-metavariables

rgw: the metavariables in frontends-related config won't be expanded

Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2017-12-29 10:28:59 -06:00 committed by GitHub
commit f52cd177b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,6 +197,7 @@ int main(int argc, const char **argv)
flags);
list<string> frontends;
g_conf->early_expand_meta(g_conf->rgw_frontends, &cerr);
get_str_list(g_conf->rgw_frontends, ",", frontends);
multimap<string, RGWFrontendConfig *> fe_map;
list<RGWFrontendConfig *> configs;