lib/chef/provider/breakpoint.rb in chef-0.8.16 vs lib/chef/provider/breakpoint.rb in chef-0.9.0.a3
- old
+ new
@@ -23,12 +23,12 @@
def load_current_resource
end
def action_break
if defined?(Shef) && Shef.running?
- @collection.iterator.pause
+ run_context.resource_collection.iterator.pause
@new_resource.updated = true
- @collection.iterator
+ run_context.resource_collection.iterator
end
end
end
end
\ No newline at end of file