diff options
Diffstat (limited to 'lib/chef/cookbook/remote_file_vendor.rb')
-rw-r--r-- | lib/chef/cookbook/remote_file_vendor.rb | 2 |
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 |