summaryrefslogtreecommitdiffstats
path: root/src/tools/rbd_nbd/rbd-nbd.cc
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2019-03-08 16:35:22 +0100
committerSage Weil <sage@redhat.com>2019-03-08 23:30:39 +0100
commita92628f2857390460e35ae60b8e06f16296da481 (patch)
tree7fe4e79f9d7be472825fdcb98abaf13373e74710 /src/tools/rbd_nbd/rbd-nbd.cc
parentMerge PR #26838 into master (diff)
downloadceph-a92628f2857390460e35ae60b8e06f16296da481.tar.xz
ceph-a92628f2857390460e35ae60b8e06f16296da481.zip
common/config: pass entity_type down into parse_env()
No functional change, but we'll need this shortly. Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to '')
-rw-r--r--src/tools/rbd_nbd/rbd-nbd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rbd_nbd/rbd-nbd.cc b/src/tools/rbd_nbd/rbd-nbd.cc
index cce44e4f7be..5784eae4ecc 100644
--- a/src/tools/rbd_nbd/rbd-nbd.cc
+++ b/src/tools/rbd_nbd/rbd-nbd.cc
@@ -1044,7 +1044,7 @@ static int parse_args(vector<const char*>& args, std::ostream *err_msg,
} else {
config.parse_config_files(nullptr, nullptr, 0);
}
- config.parse_env();
+ config.parse_env(g_ceph_context->get_module_type());
config.parse_argv(args);
cfg->poolname = config.get_val<std::string>("rbd_default_pool");