Skip to content

Commit

Permalink
Merge pull request #1283 from chidanandpujar/ignore_warning_fix
Browse files Browse the repository at this point in the history
Fix for issue #1245
  • Loading branch information
dineshbaburam91 authored Oct 7, 2024
2 parents 730f3e1 + a8e26bc commit 6136128
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 6136128

Please sign in to comment.