summaryrefslogtreecommitdiffstats
path: root/lib/puppet/transaction/change.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/transaction/change.rb')
-rw-r--r--lib/puppet/transaction/change.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/puppet/transaction/change.rb b/lib/puppet/transaction/change.rb
index b3aac5a32..6ecb93c37 100644
--- a/lib/puppet/transaction/change.rb
+++ b/lib/puppet/transaction/change.rb
@@ -38,9 +38,7 @@ class Puppet::Transaction::Change
result = event()
result.status = "failure"
- is = property.is_to_s(is)
- should = property.should_to_s(should)
- result.message = "change from #{is} to #{should} failed: #{detail}"
+ result.message = "change from #{property.is_to_s(is)} to #{property.should_to_s(should)} failed: #{detail}"
result.send_log
result
end