summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook/remote_file_vendor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/cookbook/remote_file_vendor.rb')
-rw-r--r--lib/chef/cookbook/remote_file_vendor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook/remote_file_vendor.rb b/lib/chef/cookbook/remote_file_vendor.rb
index 7db0cb8686..eea2ecf242 100644
--- a/lib/chef/cookbook/remote_file_vendor.rb
+++ b/lib/chef/cookbook/remote_file_vendor.rb
@@ -55,7 +55,7 @@ class Chef
validate_cached_copy(cache_filename)
current_checksum = nil
- if Chef::FileCache.has_key?(cache_filename)
+ if Chef::FileCache.key?(cache_filename)
current_checksum = Chef::CookbookVersion.checksum_cookbook_file(Chef::FileCache.load(cache_filename, false))
end