Skip to content

Commit

Permalink
warn (v. info) when reloading resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Isa Farnik committed Dec 29, 2015
1 parent 6001f9e commit 34504ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/chef/provider/lwrp_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class <<self

def build_from_file(cookbook_name, filename, run_context)
if LWRPBase.loaded_lwrps[filename]
Chef::Log.info("LWRP provider #{filename} from cookbook #{cookbook_name} has already been loaded! Skipping the reload.")
Chef::Log.warn("LWRP provider #{filename} from cookbook #{cookbook_name} has already been loaded! Skipping the reload.")
return loaded_lwrps[filename]
end

Expand Down
2 changes: 1 addition & 1 deletion lib/chef/resource/lwrp_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class <<self

def build_from_file(cookbook_name, filename, run_context)
if LWRPBase.loaded_lwrps[filename]
Chef::Log.info("Custom resource #{filename} from cookbook #{cookbook_name} has already been loaded! Skipping the reload.")
Chef::Log.warn("Custom resource #{filename} from cookbook #{cookbook_name} has already been loaded! Skipping the reload.")
return loaded_lwrps[filename]
end

Expand Down

0 comments on commit 34504ab

Please sign in to comment.