diff options
author | danielsdeleo <dan@opscode.com> | 2013-10-08 09:30:35 -0700 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-10-08 15:01:48 -0700 |
commit | 88439ca8ffbd57e0f7c5133e0846185902014f74 (patch) | |
tree | 6a6c0e07f9f895d1684922a9b2e540b96b2ba2c1 /lib/chef/rest.rb | |
parent | 75a71fcdb1e03ba405fe0ddf1d9717e4a5c57b03 (diff) | |
download | chef-88439ca8ffbd57e0f7c5133e0846185902014f74.tar.gz |
remove duplicate method from subclass
Diffstat (limited to 'lib/chef/rest.rb')
-rw-r--r-- | lib/chef/rest.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/chef/rest.rb b/lib/chef/rest.rb index c589373837..f5a270248b 100644 --- a/lib/chef/rest.rb +++ b/lib/chef/rest.rb @@ -117,14 +117,6 @@ class Chef streaming_request(create_url(path), headers) {|tmp_file| yield tmp_file } end - def create_url(path) - if path =~ /^(http|https):\/\// - URI.parse(path) - else - URI.parse("#{@url}/#{path}") - end - end - # Chef::REST doesn't define middleware in the normal way for backcompat reasons, so it's hardcoded here. def middlewares [@chef_json_inflater, @cookie_manager, @decompressor, @authenticator] |