Skip to content

Commit

Permalink
Fix read registry
Browse files Browse the repository at this point in the history
  • Loading branch information
titilambert committed Aug 30, 2017
1 parent d848df3 commit d58e7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tuxeatpi_common/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def read(self):
"""Get all component states"""
states = {}
try:
for raw_data in self.etcd_client.read(self.key).children:
for raw_data in self.etcd_client.read(self.root_key).children:
data = json.loads(raw_data.value)
states[data['name']] = data
except etcd.EtcdKeyNotFound:
Expand Down

0 comments on commit d58e7d8

Please sign in to comment.