mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Issue #27121 - Attempt to fix missing credentials when modifying eni properties
This commit is contained in:
parent
5d292a221e
commit
c58e7a00f3
@ -1299,7 +1299,15 @@ def _modify_eni_properties(eni_id, properties=None):
|
||||
while retries > 0:
|
||||
retries = retries - 1
|
||||
|
||||
result = query(params, return_root=True)
|
||||
# result = query(params, return_root=True)
|
||||
|
||||
result = aws.query(params,
|
||||
return_root=True,
|
||||
location=get_location(),
|
||||
provider=get_provider(),
|
||||
opts=__opts__,
|
||||
sigver='4')
|
||||
|
||||
if isinstance(result, dict) and result.get('error'):
|
||||
time.sleep(1)
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user