summaryrefslogtreecommitdiff
path: root/lib/chef/run_context.rb
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@getchef.com>2014-09-04 13:03:38 -0700
committerChris Doherty <cdoherty@getchef.com>2014-09-10 16:34:23 -0700
commit67bb227814615d82a062d15883e08257b5f47c66 (patch)
tree89a5857784858aac8a7807777d80ef577cf74a48 /lib/chef/run_context.rb
parentbf64c21888102e57cb910ec298db025af2829dc8 (diff)
downloadchef-67bb227814615d82a062d15883e08257b5f47c66.tar.gz
Switch from class variables to class instance variables; tweak temporary logging a bit.
Diffstat (limited to 'lib/chef/run_context.rb')
-rw-r--r--lib/chef/run_context.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index b41173e12b..bbe2f9eba0 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -283,12 +283,12 @@ ERROR_MESSAGE
# 5. raise an exception on any second call.
# 6. ?
def request_reboot(reboot_info)
- Chef::Log::warn "Changing reboot status from #{@reboot_info.inspect} to #{reboot_info.inspect}"
+ Chef::Log::info "Changing reboot status from #{@reboot_info.inspect} to #{reboot_info.inspect}"
@reboot_info = reboot_info
end
def cancel_reboot
- Chef::Log::warn "Changing reboot status from #{@reboot_info.inspect} to {}"
+ Chef::Log::info "Changing reboot status from #{@reboot_info.inspect} to {}"
@reboot_info = {}
end