diff options
Diffstat (limited to 'lib/chef/provider/remote_file/ftp.rb')
-rw-r--r-- | lib/chef/provider/remote_file/ftp.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/chef/provider/remote_file/ftp.rb b/lib/chef/provider/remote_file/ftp.rb index 865667a31c..d75fb7a52c 100644 --- a/lib/chef/provider/remote_file/ftp.rb +++ b/lib/chef/provider/remote_file/ftp.rb @@ -20,7 +20,6 @@ require 'uri' require 'tempfile' require 'net/ftp' require 'chef/provider/remote_file' -require 'chef/provider/remote_file/result' require 'chef/file_content_management/tempfile' class Chef @@ -85,10 +84,8 @@ class Chef def fetch with_connection do - tempfile = get - @result = Chef::Provider::RemoteFile::Result.new(tempfile, nil, nil) + get end - @result end def ftp |