print results from key lookup
@@ -35,7 +35,9 @@ def lookup_key(key):
r = StrictRedis(host='redis', port=6379, db=0)
key_info = r.hgetall(key)
endpoint = json.loads(key_info[b'endpoint'].decode('ascii'))
+ print(endpoint)
address = endpoint['ip-address']
+ print(address)
except Exception as e:
address = None
return address, e
