summaryrefslogtreecommitdiffstats
path: root/phosphor-ldap-config/ldap_configuration.cpp
diff options
context:
space:
mode:
authorNagaraju Goruganti <ngorugan@in.ibm.com>2018-11-09 03:34:12 -0600
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-11-19 21:37:57 -0500
commitbc4f180c2f15cdca8489168fd796e92aeeb8f52b (patch)
treee8143cb8dc81f42d07164703307600d73e2a4c7a /phosphor-ldap-config/ldap_configuration.cpp
parent5088e54473b49b40e5ceab2fae2999619f31b7d3 (diff)
downloadphosphor-user-manager-bc4f180c2f15cdca8489168fd796e92aeeb8f52b.tar.gz
phosphor-user-manager-bc4f180c2f15cdca8489168fd796e92aeeb8f52b.zip
phosphor-ldap-conf: nslcd restart service getting called twice
In the createconfig path nslcd restart service is getting called twice in a row, which not needed. Change-Id: Ib60d43110815758360aa6f0de0478ad784cf5a5a Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
Diffstat (limited to 'phosphor-ldap-config/ldap_configuration.cpp')
-rw-r--r--phosphor-ldap-config/ldap_configuration.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/phosphor-ldap-config/ldap_configuration.cpp b/phosphor-ldap-config/ldap_configuration.cpp
index 8503929..0ce4c61 100644
--- a/phosphor-ldap-config/ldap_configuration.cpp
+++ b/phosphor-ldap-config/ldap_configuration.cpp
@@ -39,7 +39,6 @@ Config::Config(sdbusplus::bus::bus& bus, const char* path, const char* filePath,
ConfigIface::lDAPSearchScope(lDAPSearchScope);
ConfigIface::lDAPType(lDAPType);
writeConfig();
- parent.restartService(nslcdService);
// Emit deferred signal.
this->emit_object_added();
}
OpenPOWER on IntegriCloud