Fix Etcd constructor

pull/11254/head
Toshio Kuratomi 10 years ago
parent 77c76e632e
commit d315f6e22c

@ -33,7 +33,7 @@ if os.getenv('ANSIBLE_ETCD_URL') is not None:
ANSIBLE_ETCD_URL = os.environ['ANSIBLE_ETCD_URL'] ANSIBLE_ETCD_URL = os.environ['ANSIBLE_ETCD_URL']
class Etcd: class Etcd:
def __init__(self, url=ANSIBLE_ETCD_URL, validate_certs): def __init__(self, url=ANSIBLE_ETCD_URL, validate_certs=True):
self.url = url self.url = url
self.baseurl = '%s/v1/keys' % (self.url) self.baseurl = '%s/v1/keys' % (self.url)
self.validate_certs = validate_certs self.validate_certs = validate_certs

Loading…
Cancel
Save