Update salt adapter top function to new Core API
Signed-off-by: martin f. krafft <madduck@madduck.net>
diff --git a/reclass/adapters/salt.py b/reclass/adapters/salt.py
index 6fd7224..eec2ac3 100755
--- a/reclass/adapters/salt.py
+++ b/reclass/adapters/salt.py
@@ -54,8 +54,7 @@
# specific minion, otherwise return the entire top data (which we need for
# CLI invocations of the adapter):
if minion_id is not None:
- data = reclass.nodeinfo(storage_type, inventory_base_uri, nodes_uri,
- classes_uri, minion_id, class_mappings)
+ data = reclass.nodeinfo(minion_id)
applications = data.get('applications', [])
return {env: applications}