From 29c342fa51c7a9866366cfc20968be7270e02fc5 Mon Sep 17 00:00:00 2001 From: "Bradley A. Thornton" Date: Fri, 9 Aug 2019 12:05:55 -0700 Subject: 79 --- plugins/modules/vyos_static_route.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/modules/vyos_static_route.py') diff --git a/plugins/modules/vyos_static_route.py b/plugins/modules/vyos_static_route.py index dfb1d21e..734a1b08 100644 --- a/plugins/modules/vyos_static_route.py +++ b/plugins/modules/vyos_static_route.py @@ -132,7 +132,9 @@ def spec_to_commands(updates, module): del w["state"] if state == "absent" and w in have: - commands.append("delete protocols static route %s/%s" % (prefix, mask)) + commands.append( + "delete protocols static route %s/%s" % (prefix, mask) + ) elif state == "present" and w not in have: cmd = "set protocols static route %s/%s next-hop %s" % ( prefix, -- cgit v1.2.3