From db26fa34371d742ea3739c5bd513a308bfe7447a Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Mon, 4 Jan 2021 13:05:39 +0100
Subject: [PATCH] save to a different branch, so key lists don't change

---
 inventory_provider/tasks/worker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inventory_provider/tasks/worker.py b/inventory_provider/tasks/worker.py
index 7e92f65a..1c4b16fd 100644
--- a/inventory_provider/tasks/worker.py
+++ b/inventory_provider/tasks/worker.py
@@ -115,7 +115,7 @@ def snmp_refresh_interfaces(self, hostname, community):
         ifc['hostname'] = hostname
         ifc['community'] = community
         rp.set(
-            f'snmp-interfaces:{hostname}:{ifc["name"]}',
+            f'snmp-interfaces-single:{hostname}:{ifc["name"]}',
             json.dumps(ifc))
 
     rp.execute()
-- 
GitLab