lib/bolt/apply_result.rb in bolt-1.44.0 vs lib/bolt/apply_result.rb in bolt-1.45.0
- old
+ new
@@ -51,12 +51,12 @@
expected_report_keys = %w[metrics resource_statuses status]
missing_keys = expected_report_keys.reject { |k| result.value.include?(k) }
unless missing_keys.empty?
if result['_output']
- # rubocop:disable Metrics/LineLength
+ # rubocop:disable Layout/LineLength
msg = "Report result contains an '_output' key. Catalog application may have printed extraneous output to stdout: #{result['_output']}"
- # rubocop:enable Metrics/LineLength
+ # rubocop:enable Layout/LineLength
else
msg = "Report did not contain all expected keys missing: #{missing_keys.join(' ,')}"
end
{ 'msg' => msg,