diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2019-01-02 10:08:31 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-01-02 10:08:31 +0000 |
commit | f93f09e7355b7cc3522797ee288d79d3b2e90ea0 (patch) | |
tree | 2ae2c192e685331457ef63ae5c8b1abe94a7452e /lib | |
parent | bb444211872cd4a367e6e31da20d5aa05ded8d6b (diff) | |
parent | 2bfc317492f0a5918c4861203f3eedf71b2627aa (diff) | |
download | gitlab-ce-f93f09e7355b7cc3522797ee288d79d3b2e90ea0.tar.gz |
Merge branch 's3-directories-get' into 'master'
Use directories.new when getting S3 directory
Closes gitlab-com/gl-infra/infrastructure#5807
See merge request gitlab-org/gitlab-ce!23981
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/cleanup/remote_uploads.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/cleanup/remote_uploads.rb b/lib/gitlab/cleanup/remote_uploads.rb index eba1faacc3a..03298d960a4 100644 --- a/lib/gitlab/cleanup/remote_uploads.rb +++ b/lib/gitlab/cleanup/remote_uploads.rb @@ -67,7 +67,7 @@ module Gitlab end def remote_directory - connection.directories.get(configuration['remote_directory']) + connection.directories.new(key: configuration['remote_directory']) end def connection |