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
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-06-18 11:56:16 +0300
committerShinya Maeda <shinya@gitlab.com>2018-06-18 11:56:16 +0300
commit494673793d6b4491b2a7843f0614e5bcb3d88a3c (patch)
treea909451fa3453ec5efb7ea6b6110eca67fa524b2 /app/workers/ci
parent71e30c011957229dfa4029b9b04e5308ceed4fcd (diff)
Rename persisted? to data_persisted?
Diffstat (limited to 'app/workers/ci')
-rw-r--r--app/workers/ci/build_trace_chunk_flush_worker.rb2
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 8e08ccbc414..49ff0f4ab94 100644
--- a/app/workers/ci/build_trace_chunk_flush_worker.rb
+++ b/app/workers/ci/build_trace_chunk_flush_worker.rb
@@ -5,7 +5,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.persist!
+ build_trace_chunk.persist_data!
end
end
end