Skip to content

Commit

Permalink
fix double quote error
Browse files Browse the repository at this point in the history
  • Loading branch information
roverflow committed Nov 14, 2024
1 parent a837dd3 commit 038270e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def _tmplt_export_vrf(vrf):
if vrfData.get("max_prefix") or vrfData.get("map_import"):
cmd += " default"
if vrfData.get("max_prefix"):
cmd += f" {vrfData["max_prefix"]}"
cmd += f" {vrfData['max_prefix']}"
if vrfData.get("map_import"):
cmd += f" map {vrfData["map_import"]}"
cmd += f" map {vrfData['map_import']}"
if vrfData.get("allow_vpn"):
cmd += " allow-vpn"
return cmd
Expand All @@ -57,9 +57,9 @@ def _tmplt_import_vrf(vrf):
if vrfData.get("max_prefix") or vrfData.get("map_import"):
cmd += " default"
if vrfData.get("max_prefix"):
cmd += f" {vrfData["max_prefix"]}"
cmd += f" {vrfData['max_prefix']}"
if vrfData.get("map_import"):
cmd += f" map {vrfData["map_import"]}"
cmd += f" map {vrfData['map_import']}"
if vrfData.get("advertise_vpn"):
cmd += " advertise-vpn"
return cmd
Expand Down

0 comments on commit 038270e

Please sign in to comment.