summaryrefslogtreecommitdiff
path: root/lib/chef/provider/breakpoint.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-02-15 13:02:21 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2017-02-15 13:02:21 -0800
commit80b6150b5aafa1426629102d2b70f13b893b9faf (patch)
tree0e7f79dd1b90b0f4fe18b0247c44d3f155cd1fce /lib/chef/provider/breakpoint.rb
parentac07b819652edb10b0421c12c16cce13e6e70f23 (diff)
downloadchef-80b6150b5aafa1426629102d2b70f13b893b9faf.tar.gz
cleans up the remaining new/current_resource ivarslcg/remove-ivars
switches from using ivars to accessors for getters Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/breakpoint.rb')
-rw-r--r--lib/chef/provider/breakpoint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/breakpoint.rb b/lib/chef/provider/breakpoint.rb
index a71c9e317d..0902634a64 100644
--- a/lib/chef/provider/breakpoint.rb
+++ b/lib/chef/provider/breakpoint.rb
@@ -28,7 +28,7 @@ class Chef
def action_break
if defined?(Shell) && Shell.running?
run_context.resource_collection.iterator.pause
- @new_resource.updated_by_last_action(true)
+ new_resource.updated_by_last_action(true)
run_context.resource_collection.iterator
end
end