Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing issue with napalm plugin if port but no optional_args #231

Merged
merged 1 commit into from
Aug 16, 2018

Conversation

ktbyers
Copy link
Collaborator

@ktbyers ktbyers commented Aug 15, 2018

connection_options["optional_args"] might not exist (if it is not defined in inventory).

Consequently, I was getting an exception when "port" was defined in inventory, but "optional_args" was not defined.

parameters["optional_args"] will always exist.

@coveralls
Copy link

coveralls commented Aug 15, 2018

Pull Request Test Coverage Report for Build 907

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+26.1%) to 93.182%

Totals Coverage Status
Change from base Build 904: 26.1%
Covered Lines: 1189
Relevant Lines: 1276

💛 - Coveralls

@dbarrosop dbarrosop merged commit b1751e6 into nornir-automation:2.0 Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants