Skip to content

Commit

Permalink
Fix for issue Juniper#1245
Browse files Browse the repository at this point in the history
  • Loading branch information
chidanandpujar committed Nov 23, 2023
1 parent 53054ea commit a8e26bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jnpr/junos/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def _lset_from_rexp(rpc):
elif re.search(r"^\s*\{", rpc) and re.search(r".*}\s*$", rpc):
kvargs["format"] = "json"

def try_load(rpc_contents, rpc_xattrs, ignore_warning=False):
def try_load(rpc_contents, rpc_xattrs, ignore_warning=ignore_warning):
try:
got = self.rpc.load_config(
rpc_contents, ignore_warning=ignore_warning, **rpc_xattrs
Expand Down

0 comments on commit a8e26bc

Please sign in to comment.