mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-01 13:59:09 -07:00
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']
|
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…
Add table
Add a link
Reference in a new issue