mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Add type int for various argument params (#55026)
Specify type as int for various arguments where default value is int. Fixes: #55005 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
Sloane Hertel
parent
dd3de27cc8
commit
bea397b458
@@ -820,7 +820,7 @@ def main():
|
||||
state=dict(default='present', choices=['present', 'absent']),
|
||||
user_data=dict(no_log=True),
|
||||
wait=dict(default=False, type='bool'),
|
||||
wait_timeout=dict(default=300),
|
||||
wait_timeout=dict(default=300, type='int'),
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@@ -272,7 +272,7 @@ def main():
|
||||
type=dict(choices=['PUBLIC', 'SERVICENET'], default='PUBLIC'),
|
||||
vip_id=dict(),
|
||||
wait=dict(type='bool'),
|
||||
wait_timeout=dict(default=300),
|
||||
wait_timeout=dict(type='int', default=300),
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@@ -376,7 +376,7 @@ def main():
|
||||
state=dict(default='present', choices=['present', 'absent']),
|
||||
user_data=dict(no_log=True),
|
||||
wait=dict(default=False, type='bool'),
|
||||
wait_timeout=dict(default=300),
|
||||
wait_timeout=dict(default=300, type='int'),
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user