mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
retry_interval needs to be a float before passing to time.sleep
This commit is contained in:
@@ -162,7 +162,7 @@ def commit(changes, retry_interval):
|
||||
code = code.split("</Code>")[0]
|
||||
if code != 'PriorRequestNotComplete' or retry < 0:
|
||||
raise e
|
||||
time.sleep(retry_interval)
|
||||
time.sleep(float(retry_interval))
|
||||
|
||||
def main():
|
||||
argument_spec = ec2_argument_spec()
|
||||
|
||||
Reference in New Issue
Block a user