mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-09-01 02:41:01 -07:00
Merge pull request #3648 from echohead/glance-image-timeout
Fix 'timeout' parameter of glance-image module.
This commit is contained in:
commit
422233bc91
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ def _glance_image_create(module, params, client):
|
|||
'copy_from': params.get('copy_from'),
|
||||
}
|
||||
try:
|
||||
timeout = params.get('timeout')
|
||||
timeout = float(params.get('timeout'))
|
||||
expire = time.time() + timeout
|
||||
image = client.images.create(**kwargs)
|
||||
if not params['copy_from']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue