summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_route_maps.py
diff options
context:
space:
mode:
authorAshwini Mhatre <mashu97@gmail.com>2021-07-07 20:33:54 +0530
committerGitHub <noreply@github.com>2021-07-07 15:03:54 +0000
commit5c767d4266fe028cc0c11b05447e61ae89af9d45 (patch)
tree30e7bd1b330845f689009bc2bf5005a315259d1a /plugins/modules/vyos_route_maps.py
parente8e9cc5537c36a1f5eaf28cfc16b4101028f2013 (diff)
downloadvyos.vyos-5c767d4266fe028cc0c11b05447e61ae89af9d45.tar.gz
vyos.vyos-5c767d4266fe028cc0c11b05447e61ae89af9d45.zip
fix issue in route-maps facts code when route-maps facts are empty. (#182)
fix issue in route-maps facts code when route-maps facts are empty. SUMMARY fixes: #181 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Rohit Thakur <rohitthakur2590@outlook.com>
Diffstat (limited to 'plugins/modules/vyos_route_maps.py')
-rw-r--r--plugins/modules/vyos_route_maps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/modules/vyos_route_maps.py b/plugins/modules/vyos_route_maps.py
index c8e7352b..27fac07f 100644
--- a/plugins/modules/vyos_route_maps.py
+++ b/plugins/modules/vyos_route_maps.py
@@ -350,7 +350,7 @@ EXAMPLES = """
# "route_map": "test3"
# }
# ],
-# "before": {},
+# "before": [],
# "changed": true,
# "commands": [
# "set policy route-map test1 rule 1 description test",
@@ -558,7 +558,7 @@ EXAMPLES = """
#
# Module Execution:
#
-# "after": {},
+# "after": [],
# "before": [
# {
# "entries": [