Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2017-01-16 02:38:25 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2017-01-16 02:38:25 +0300
commit1cccb378316d82ffdf4063b5aa3ecb5146d8fd79 (patch)
tree97408ab70b99f481b49020a39ed7509d82aa5521 /lib/api
parentbf8e174f0ae21b320c17b5a8f8d45aefcfef9520 (diff)
Fix a API deprecation warning
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb
index 20b5bc1502a..eb2d370c68e 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -294,7 +294,7 @@ module API
header['X-Sendfile'] = path
body
else
- file FileStreamer.new(path)
+ path
end
end