You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if 'dir' in data and data['dir'] and data.get('nodes'):
result[key] = {}
for n in data['nodes']:
result[key].update(parse_etcd_response(n, data['key']))
elif data.get('value'):
result[key] = data['value']
else:
result[key] = ''
The text was updated successfully, but these errors were encountered:
I got an error print out
Because the directory is empty. So I changed from here.
https://github.com/oreh/simpletcd/blob/master/simpletcd/etcd.py#L106
The text was updated successfully, but these errors were encountered: