mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
boto_vpc: return an empty dict in case cannot get the route tables
This commit is contained in:
parent
356bf2987d
commit
c3420461c3
1 changed files with 1 additions and 1 deletions
|
@ -2115,7 +2115,7 @@ def describe_route_table(route_table_id=None, route_table_name=None,
|
|||
route_tables = conn.get_all_route_tables(**filter_parameters)
|
||||
|
||||
if not route_tables:
|
||||
return False
|
||||
return {}
|
||||
|
||||
route_table = {}
|
||||
keys = ['id', 'vpc_id', 'tags', 'routes', 'associations']
|
||||
|
|
Loading…
Add table
Reference in a new issue