mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
gluster_volume: remove redundant code
This commit is contained in:
parent
e0b6586c41
commit
00c6f0b888
1 changed files with 2 additions and 2 deletions
|
@ -292,7 +292,7 @@ def main():
|
||||||
brick=dict(required=False, default=None),
|
brick=dict(required=False, default=None),
|
||||||
start_on_create=dict(required=False, default=True, type='bool'),
|
start_on_create=dict(required=False, default=True, type='bool'),
|
||||||
rebalance=dict(required=False, default=False, type='bool'),
|
rebalance=dict(required=False, default=False, type='bool'),
|
||||||
options=dict(required=False, default=None, type='dict'),
|
options=dict(required=False, default={}, type='dict'),
|
||||||
quota=dict(required=False),
|
quota=dict(required=False),
|
||||||
directory=dict(required=False, default=None),
|
directory=dict(required=False, default=None),
|
||||||
force=dict(required=False, default=False, type='bool'),
|
force=dict(required=False, default=False, type='bool'),
|
||||||
|
@ -318,7 +318,7 @@ def main():
|
||||||
if not myhostname:
|
if not myhostname:
|
||||||
myhostname = socket.gethostname()
|
myhostname = socket.gethostname()
|
||||||
|
|
||||||
options = module.params['options'] or {}
|
options = module.params['options']
|
||||||
quota = module.params['quota']
|
quota = module.params['quota']
|
||||||
directory = module.params['directory']
|
directory = module.params['directory']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue