summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-05-24 10:08:55 +0900
committerShinya Maeda <shinya@gitlab.com>2018-05-24 10:08:55 +0900
commitea89262cc7539987b23b9a4dbf559db4398f0888 (patch)
tree11375e9cf717d5b00aee5b31fd64f21e16c8521e
parent76e276cb433a7023cf8154f9d9555725b3b11e67 (diff)
downloadgitlab-ce-use-get_object_https_url-with-direct-uploder.tar.gz
Use get_object_https_url instead of get_object_urluse-get_object_https_url-with-direct-uploder
-rw-r--r--app/uploaders/object_storage.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/uploaders/object_storage.rb b/app/uploaders/object_storage.rb
index a3549cada95..d14f964f587 100644
--- a/app/uploaders/object_storage.rb
+++ b/app/uploaders/object_storage.rb
@@ -178,7 +178,7 @@ module ObjectStorage
{
ID: id,
- GetURL: connection.get_object_url(remote_store_path, upload_path, expire_at),
+ GetURL: connection.get_object_https_url(remote_store_path, upload_path, expire_at),
DeleteURL: connection.delete_object_url(remote_store_path, upload_path, expire_at),
StoreURL: connection.put_object_url(remote_store_path, upload_path, expire_at, options)
}