summaryrefslogtreecommitdiff
path: root/ndb/src/mgmsrv/MgmtSrvrConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/src/mgmsrv/MgmtSrvrConfig.cpp')
-rw-r--r--ndb/src/mgmsrv/MgmtSrvrConfig.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/ndb/src/mgmsrv/MgmtSrvrConfig.cpp b/ndb/src/mgmsrv/MgmtSrvrConfig.cpp
index 10316bd2851..44c2aadd1e2 100644
--- a/ndb/src/mgmsrv/MgmtSrvrConfig.cpp
+++ b/ndb/src/mgmsrv/MgmtSrvrConfig.cpp
@@ -288,16 +288,15 @@ MgmtSrvr::readConfig() {
Config *
MgmtSrvr::fetchConfig() {
- ConfigRetriever cr;
+ ConfigRetriever cr(NDB_VERSION, NODE_TYPE_MGM);
cr.setLocalConfigFileName(m_localNdbConfigFilename.c_str());
- struct ndb_mgm_configuration * tmp = cr.getConfig(NDB_VERSION,
- NODE_TYPE_MGM);
+ struct ndb_mgm_configuration * tmp = cr.getConfig();
if(tmp != 0){
Config * conf = new Config();
conf->m_configValues = tmp;
return conf;
}
-
+
return 0;
}