ac7d03
From b7c0c372c3d78e60f5b2889c88f4f3b4a5abdcad Mon Sep 17 00:00:00 2001
ac7d03
From: Tomas Krizek <tkrizek@redhat.com>
ac7d03
Date: Tue, 2 May 2017 18:42:13 +0200
ac7d03
Subject: [PATCH] installer service: fix typo in service entry
ac7d03
ac7d03
The typo would result in incorrect resolution of existing keys and
ac7d03
their existence wasn't properly logged as intended.
ac7d03
ac7d03
Related https://pagure.io/freeipa/issue/6920
ac7d03
ac7d03
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
ac7d03
---
ac7d03
 ipaserver/install/service.py | 2 +-
ac7d03
 1 file changed, 1 insertion(+), 1 deletion(-)
ac7d03
ac7d03
diff --git a/ipaserver/install/service.py b/ipaserver/install/service.py
ac7d03
index 6b5e69ccd08444c591f15eb680b4cbdf5b6f4de1..1aa49ed25b25366afd2bb17073b4b214c231d54b 100644
ac7d03
--- a/ipaserver/install/service.py
ac7d03
+++ b/ipaserver/install/service.py
ac7d03
@@ -181,7 +181,7 @@ def set_service_entry_config(name, fqdn, config_values,
ac7d03
     except errors.NotFound:
ac7d03
         pass
ac7d03
     else:
ac7d03
-        existing_values = entry.get('ipaConnfigString', [])
ac7d03
+        existing_values = entry.get('ipaConfigString', [])
ac7d03
         for value in config_values:
ac7d03
             if case_insensitive_attr_has_value(existing_values, value):
ac7d03
                 root_logger.debug(
ac7d03
-- 
ac7d03
2.9.3
ac7d03