Skip to content

Commit

Permalink
Merge pull request #880 from carabasdaniel/fix_release
Browse files Browse the repository at this point in the history
Fix PDK release command module validation
  • Loading branch information
david22swan committed Apr 6, 2020
2 parents 32acf24 + adf84ed commit cc6d0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pdk/module/release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def run_validations(opts)

PDK::Util::Bundler.ensure_bundle!(puppet_env[:gemset])

validator_exit_code, = PDK::Validate.invoke_validators_by_name(PDK::Validate.validator_names, false, options)
validator_exit_code, = PDK::Validate.invoke_validators_by_name(PDK.context, PDK::Validate.validator_names, false, options)
raise PDK::CLI::ExitWithError, _('An error occured during validation') unless validator_exit_code.zero?
end

Expand Down

0 comments on commit cc6d0e9

Please sign in to comment.