Commit 1a844175 authored by James Coyle's avatar James Coyle

Fix for storage path and added 4 new attributes

parent fbbc6c8f
......@@ -40,7 +40,7 @@ def init_send():
json_node = {
'id': node['id'],
'status': node['status'],
'configPath': node['configPath'],
'storagePath': node['configPath'],
'uptime': node['uptime'],
'restarts': node['restarts'],
'allocs': node['allocs'],
......@@ -49,6 +49,10 @@ def init_send():
'bridgeConnectionStatus': node['bridgeConnectionStatus'],
'reputation': bridge_json['reputation'],
'responseTime': bridge_json['responseTime'],
'lastTimeout': bridge_json['lastTimeout'],
'timeoutRate': bridge_json['timeoutRate'],
'spaceAvailable': bridge_json['spaceAvailable'],
'lastSeen': bridge_json['lastSeen'],
'rpcAddress': conf_json[node['configPath']]['rpcAddress'],
'rpcPort': conf_json[node['configPath']]['rpcPort'],
#'storagePath': conf_json[node['configPath']]['storagePath'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment