Skip to content

Commit

Permalink
Merge pull request #20037 from kbrock/report_formatter_change
Browse files Browse the repository at this point in the history
fix report formatter deprecation warning
  • Loading branch information
jrafanie authored Apr 2, 2020
2 parents a0fe4ca + 33b2df9 commit 369433b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/miq_report/formatters/text.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module MiqReport::Formatters::Text
def to_text
ReportFormatter::ReportRenderer.render(:text) do |e|
ManageIQ::Reporting::Formatter::ReportRenderer.render(:text) do |e|
e.options.mri = (self) # set the MIQ_Report instance in the formatter
e.options.ignore_table_width = true
end
Expand Down

0 comments on commit 369433b

Please sign in to comment.