lib/bolt/apply_result.rb in bolt-1.42.0 vs lib/bolt/apply_result.rb in bolt-1.43.0
- old
+ new
@@ -83,9 +83,16 @@
else
new(result.target, report: result.value)
end
end
+ # Other pcore methods are inherited from Result
+ def _pcore_init_hash
+ { 'target' => @target,
+ 'error' => value['_error'],
+ 'report' => value['report'] }
+ end
+
def initialize(target, error: nil, report: nil)
@target = target
@value = {}
@action = 'apply'
value['report'] = report if report