Skip to content

Commit

Permalink
Merge pull request #140 from vnitinv/iAgent
Browse files Browse the repository at this point in the history
args need to be updated locally
  • Loading branch information
Nitin Kr authored Feb 3, 2020
2 parents 14165ba + d22882a commit f910fdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion salt/modules/junos.py
Original file line number Diff line number Diff line change
Expand Up @@ -1427,7 +1427,9 @@ def get_table(table, file, path=None, target=None, key=None, key_items=None,
if key_items is not None:
ret['table'][table]['key_items'] = data.KEY_ITEMS
if args is not None:
ret['table'][table]['args'] = data.CMD_ARGS
table_args = copy.copy(data.CMD_ARGS)
table_args.update(args)
ret['table'][table]['args'] = table_args
ret['table'][table]['command'] = data.GET_CMD
except ConnectClosedError:
ret['message'] = 'Got ConnectClosedError exception. Connection lost ' \
Expand Down

0 comments on commit f910fdb

Please sign in to comment.