vultr: Fix retry max delay param ignored (#67437)
* vultr: Fix retry max delay param not taken * add changelog
This commit is contained in:
parent
a5af649a73
commit
bcd145c111
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- vultr - Fixed the issue retry max delay param was ignored.
|
|
@ -61,7 +61,7 @@ class Vultr:
|
||||||
'api_key': self.module.params.get('api_key') or config.get('key'),
|
'api_key': self.module.params.get('api_key') or config.get('key'),
|
||||||
'api_timeout': self.module.params.get('api_timeout') or int(config.get('timeout') or 60),
|
'api_timeout': self.module.params.get('api_timeout') or int(config.get('timeout') or 60),
|
||||||
'api_retries': self.module.params.get('api_retries') or int(config.get('retries') or 5),
|
'api_retries': self.module.params.get('api_retries') or int(config.get('retries') or 5),
|
||||||
'api_retry_max_delay': self.module.params.get('api_retries') or int(config.get('retry_max_delay') or 12),
|
'api_retry_max_delay': self.module.params.get('api_retry_max_delay') or int(config.get('retry_max_delay') or 12),
|
||||||
'api_endpoint': self.module.params.get('api_endpoint') or config.get('endpoint') or VULTR_API_ENDPOINT,
|
'api_endpoint': self.module.params.get('api_endpoint') or config.get('endpoint') or VULTR_API_ENDPOINT,
|
||||||
}
|
}
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
|
|
Loading…
Reference in a new issue