Skip to content

(maint) Use parameters method instead of json['parameters'] #211

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

Merged
merged 1 commit into from
Sep 23, 2019

Conversation

lucywyman
Copy link
Contributor

When a task doesn't have parameters and a user generates markdown for
the task, this line would error because it can't iterate on nil. This
modifies it to use the TaskStatement method parameters which sets a
default empty hash when a task doesn't have parameters.

When a task doesn't have parameters and a user generates markdown for
the task, this line would error because it can't iterate on `nil`. This
modifies it to use the `TaskStatement` method `parameters` which sets a
default empty hash when a task doesn't have parameters.

This additionally updates `Net::SSH::Verifier::Null` to be
`Net::SSH::Verifier::Never` per [this
update](net-ssh/net-ssh@29a8e97#diff-2174f2c10092abd65be32625cf19c0e7)
to Net SSH
@lucywyman lucywyman force-pushed the maint-set-default-parameters branch from ff31f13 to 5fc6bcd Compare September 23, 2019 16:56
@eputnam eputnam merged commit 5207155 into puppetlabs:master Sep 23, 2019
@eputnam eputnam added the bugfix label Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants