mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
_get_vpc_by_name return fixed for invalid vpc_name
This commit is contained in:
parent
5ac0683840
commit
6227a8a407
1 changed files with 1 additions and 4 deletions
|
@ -1298,10 +1298,7 @@ def _get_vpc_by_name(name):
|
|||
fetch = "next" in items["links"]["pages"]
|
||||
except KeyError:
|
||||
fetch = False
|
||||
|
||||
ret[name] = None
|
||||
|
||||
return ret
|
||||
return None
|
||||
|
||||
|
||||
def _list_nodes(full=False, for_output=False):
|
||||
|
|
Loading…
Add table
Reference in a new issue