summaryrefslogtreecommitdiff
path: root/lib/chef/provider/remote_file/local_file.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@opscode.com>2013-03-26 16:51:52 -0700
committerLamont Granquist <lamont@opscode.com>2013-03-26 16:51:52 -0700
commit2c0568594ea4afd0424d012c0b57d7d9bbbeccde (patch)
tree9772bef72e00851ba1eb61ce760547ba07a1ca98 /lib/chef/provider/remote_file/local_file.rb
parent00e962314344852eaee6bf6351cf110bf0a55529 (diff)
downloadchef-2c0568594ea4afd0424d012c0b57d7d9bbbeccde.tar.gz
missed renaming this
Diffstat (limited to 'lib/chef/provider/remote_file/local_file.rb')
-rw-r--r--lib/chef/provider/remote_file/local_file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/remote_file/local_file.rb b/lib/chef/provider/remote_file/local_file.rb
index 66bf758ebb..9ed8e2cb8a 100644
--- a/lib/chef/provider/remote_file/local_file.rb
+++ b/lib/chef/provider/remote_file/local_file.rb
@@ -27,7 +27,7 @@ class Chef
class LocalFile
def initialize(uri, new_resource, current_resource)
- if current_resource.source && Util.uri_matches?(uri, current_resource.source[0])
+ if current_resource.source && Util.uri_matches_string?(uri, current_resource.source[0])
if current_resource.use_last_modified && current_resource.last_modified
@last_modified = current_resource.last_modified
end