diff options
author | John Keiser <john@johnkeiser.com> | 2015-09-01 13:21:02 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-09-01 19:30:51 -0700 |
commit | f975355dc9cb9ef73ff86471a32bfac459efeb7a (patch) | |
tree | 32b4254108a03359934d1da1a4e7e7822086ab87 /lib/chef/cookbook_version.rb | |
parent | 386468df5441f4a75865bccfd9314f883e5f39ff (diff) | |
download | chef-f975355dc9cb9ef73ff86471a32bfac459efeb7a.tar.gz |
Rename log.deprecation to log_deprecation
Diffstat (limited to 'lib/chef/cookbook_version.rb')
-rw-r--r-- | lib/chef/cookbook_version.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/cookbook_version.rb b/lib/chef/cookbook_version.rb index 0a7e1df2f7..bff3146572 100644 --- a/lib/chef/cookbook_version.rb +++ b/lib/chef/cookbook_version.rb @@ -51,12 +51,12 @@ class Chef attr_accessor :metadata_filenames def status=(new_status) - Chef.log.deprecation("Deprecated method `status' called. This method will be removed.", caller(1..1)) + Chef.log_deprecation("Deprecated method `status' called. This method will be removed.", caller(1..1)) @status = new_status end def status - Chef.log.deprecation("Deprecated method `status' called. This method will be removed.", caller(1..1)) + Chef.log_deprecation("Deprecated method `status' called. This method will be removed.", caller(1..1)) @status end @@ -480,7 +480,7 @@ class Chef # @deprecated This method was used by the Ruby Chef Server and is no longer # needed. There is no replacement. def generate_manifest_with_urls(&url_generator) - Chef.log.deprecation("Deprecated method #generate_manifest_with_urls.", caller(1..1)) + Chef.log_deprecation("Deprecated method #generate_manifest_with_urls.", caller(1..1)) rendered_manifest = manifest.dup COOKBOOK_SEGMENTS.each do |segment| |