Skip to content
Snippets Groups Projects
Commit 57c8e33f authored by Erik Reid's avatar Erik Reid
Browse files

use correct/updated backend data key

parent 764226b2
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ def router_interfaces(hostname):
r = redis.StrictRedis(
host=redis_config["hostname"],
port=redis_config["port"])
ifc_data_string = r.hget(hostname, 'interfaces')
ifc_data_string = r.hget(hostname, 'snmp-interfaces')
if not ifc_data_string:
return Response(
response="no available info for '%s'" % hostname,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment