Fix Etcd constructor
This commit is contained in:
parent
77c76e632e
commit
d315f6e22c
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ if os.getenv('ANSIBLE_ETCD_URL') is not None:
|
|||
ANSIBLE_ETCD_URL = os.environ['ANSIBLE_ETCD_URL']
|
||||
|
||||
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.baseurl = '%s/v1/keys' % (self.url)
|
||||
self.validate_certs = validate_certs
|
||||
|
|
Loading…
Reference in a new issue