blob: b07546ac4ec1e9c300c2b79247fd87b02afa1801 [file] [log] [blame]
from dubbo_client.registry import zk
__author__ = 'caozupeng'
if __name__ == '__main__':
if zk.exists("/dubbo"):
# Print the version of a node and its data
children = zk.get_children("/dubbo")
print "There are {0} children".format(len(children))
for node in children:
print node