diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-02-04 15:09:58 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-02-04 15:09:58 -0800 |
commit | f8b5a79c6e2bdc02e6305eefab311e67b510d9dc (patch) | |
tree | e7d6e0c4888cf3b5954a43a748445d8bcb9a92b7 | |
parent | 370422ae15a82f4354d047a5d85b49e8797a347e (diff) | |
download | chef-f8b5a79c6e2bdc02e6305eefab311e67b510d9dc.tar.gz |
fix warning outputlcg/warnfix
When this got extracted into its own class `self` no longer outputs the
resource which is being built.
-rw-r--r-- | lib/chef/resource_builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource_builder.rb b/lib/chef/resource_builder.rb index f700da53c9..e076856479 100644 --- a/lib/chef/resource_builder.rb +++ b/lib/chef/resource_builder.rb @@ -114,7 +114,7 @@ class Chef end def emit_cloned_resource_warning - Chef::Log.warn("Cloning resource attributes for #{self} from prior resource (CHEF-3694)") + Chef::Log.warn("Cloning resource attributes for #{resource} from prior resource (CHEF-3694)") Chef::Log.warn("Previous #{prior_resource}: #{prior_resource.source_line}") if prior_resource.source_line Chef::Log.warn("Current #{resource}: #{resource.source_line}") if resource.source_line end |