diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-07-06 11:38:07 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-07-06 11:38:07 +0000 |
commit | 9c720a98b9fc7a3cc35b019251c5285378c9ae18 (patch) | |
tree | ffe7b38f4476528a91443e889235355402471f54 /app/workers/ci | |
parent | bf9fd9c3fc3ded123458093efdcdae33f083300d (diff) | |
parent | 21399fbc31083dce37a37980668c408520a136e0 (diff) | |
download | gitlab-ce-9c720a98b9fc7a3cc35b019251c5285378c9ae18.tar.gz |
Merge branch 'build-chunks-on-object-storage' into 'master'
Allow to store BuildTraceChunks on Object Storage
Closes #45712
See merge request gitlab-org/gitlab-ce!19515
Diffstat (limited to 'app/workers/ci')
-rw-r--r-- | app/workers/ci/build_trace_chunk_flush_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/ci/build_trace_chunk_flush_worker.rb b/app/workers/ci/build_trace_chunk_flush_worker.rb index 6376c6d32cf..9dbf2e5e1ac 100644 --- a/app/workers/ci/build_trace_chunk_flush_worker.rb +++ b/app/workers/ci/build_trace_chunk_flush_worker.rb @@ -7,7 +7,7 @@ module Ci def perform(build_trace_chunk_id) ::Ci::BuildTraceChunk.find_by(id: build_trace_chunk_id).try do |build_trace_chunk| - build_trace_chunk.use_database! + build_trace_chunk.persist_data! end end end |