Skip to content

Commit

Permalink
Fix napalm plugin port reference (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers authored and dbarrosop committed Aug 14, 2018
1 parent 72d664f commit a412666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nornir/plugins/connections/napalm.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def open(
}
parameters.update(connection_options)

if port and "port" not in connection_options:
if port and "port" not in connection_options["optional_args"]:
parameters["optional_args"]["port"] = port

network_driver = get_network_driver(platform)
Expand Down

0 comments on commit a412666

Please sign in to comment.