From bc4f180c2f15cdca8489168fd796e92aeeb8f52b Mon Sep 17 00:00:00 2001 From: Nagaraju Goruganti Date: Fri, 9 Nov 2018 03:34:12 -0600 Subject: 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 --- phosphor-ldap-config/ldap_configuration.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'phosphor-ldap-config/ldap_configuration.cpp') 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(); } -- cgit v1.2.1