From d1bcdec38e5493e1e44192eaf07da2e88b8eb850 Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Wed, 29 Dec 2010 12:15:26 -0800 Subject: (#5715) Removed Puppet::Transaction::Report#external_times from YAML output. This attribute was never intended to be serialized to YAML; it exists merely as temporary storage for metrics that have not yet been placed in the report's metrics attribute. --- lib/puppet/transaction/report.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/puppet/transaction/report.rb b/lib/puppet/transaction/report.rb index bcdefd08d..b40c856ac 100644 --- a/lib/puppet/transaction/report.rb +++ b/lib/puppet/transaction/report.rb @@ -101,6 +101,10 @@ class Puppet::Transaction::Report status end + def to_yaml_properties + (instance_variables - ["@external_times"]).sort + end + private def calculate_change_metrics -- cgit