mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
rados-config: do not load ceph.conf
Fixes: #2901 Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
cc3249b44a
commit
51fe5da99c
@ -42,7 +42,8 @@ int main(int argc, const char **argv)
|
||||
bool opt_version = false;
|
||||
bool opt_vernum = false;
|
||||
|
||||
global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, 0);
|
||||
global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY,
|
||||
CINIT_FLAG_NO_DEFAULT_CONFIG_FILE);
|
||||
common_init_finish(g_ceph_context);
|
||||
|
||||
for (std::vector<const char*>::iterator i = args.begin();
|
||||
|
Loading…
Reference in New Issue
Block a user