Module: check_mk
Branch: master
Commit: c4d2dd782880f22e6f30d721ceb6e369eb222e53
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c4d2dd782880f2…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Nov 29 13:02:53 2018 +0100
Adding delta nodes: Fixed wrong argument order
Change-Id: I00b6fb088275dc2e8f54b1ae5d4f6ccc9ee3c473
---
cmk/structured_data.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmk/structured_data.py b/cmk/structured_data.py
index 067cbe7..a9ade9d 100644
--- a/cmk/structured_data.py
+++ b/cmk/structured_data.py
@@ -386,8 +386,8 @@ class Container(NodeAttribute):
if my_child.is_equal(old_child):
if keep_identical:
delta_node.add_child(
- edge, abs_path,
-
my_child.encode_for_delta_tree(encode_as=_identical_delta_tree_node))
+ edge,
my_child.encode_for_delta_tree(encode_as=_identical_delta_tree_node),
+ abs_path)
continue
new_entries, changed_entries, removed_entries, delta_child = \
my_child.compare_with(old_child, keep_identical=keep_identical)