摘要: import sys import etcd client = etcd.Client( host='127.0.0.1', port=2379, allow_reconnect=True) client.delete('/nodes/', recursive=True, dir=True) client.write('/nodes/n1', 1) print 'nod... 阅读全文
posted @ 2018-07-31 11:11 Small_office 阅读(2111) 评论(2) 推荐(0) 编辑