mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
vultr: fix for unreliable API behavior (#45712)
This commit is contained in:
@@ -169,8 +169,7 @@ class Vultr:
|
||||
timeout=self.api_config['api_timeout'],
|
||||
)
|
||||
|
||||
# Did we hit the rate limit?
|
||||
if info.get('status') and info.get('status') != 503:
|
||||
if info.get('status') == 200:
|
||||
break
|
||||
|
||||
# Vultr has a rate limiting requests per second, try to be polite
|
||||
|
||||
Reference in New Issue
Block a user