Blame SOURCES/bz1386114-01-fix-a-crash-in-adding-a-remote-node.patch

f778fe
From a551c1f4b57cb678a9251d6fc7050a7970df3906 Mon Sep 17 00:00:00 2001
f778fe
From: Tomas Jelinek <tojeline@redhat.com>
f778fe
Date: Wed, 31 May 2017 07:50:59 +0200
f778fe
Subject: [PATCH] fix a crash in adding a remote node
f778fe
f778fe
... when an id conflict occurs
f778fe
---
f778fe
 pcs/lib/commands/cluster.py | 2 +-
f778fe
 1 file changed, 1 insertion(+), 1 deletion(-)
f778fe
f778fe
diff --git a/pcs/lib/commands/cluster.py b/pcs/lib/commands/cluster.py
f778fe
index 7386e3c..0bafef5 100644
f778fe
--- a/pcs/lib/commands/cluster.py
f778fe
+++ b/pcs/lib/commands/cluster.py
f778fe
@@ -189,7 +189,7 @@ def node_add_remote(
f778fe
         for report in report_list + list(e.args):
f778fe
             if report.code != report_codes.ID_ALREADY_EXISTS:
f778fe
                 unified_report_list.append(report)
f778fe
-            elif report.info.get["id"] not in already_exists:
f778fe
+            elif report.info["id"] not in already_exists:
f778fe
                 unified_report_list.append(report)
f778fe
                 already_exists.append(report.info["id"])
f778fe
         report_list = unified_report_list
f778fe
-- 
f778fe
1.8.3.1
f778fe