Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b223f7b7
Commit
b223f7b7
authored
Jul 03, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename persistable_store instead of persist_store
parent
86251e74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/models/ci/build_trace_chunk.rb
app/models/ci/build_trace_chunk.rb
+2
-2
No files found.
app/models/ci/build_trace_chunk.rb
View file @
b223f7b7
...
...
@@ -26,7 +26,7 @@ module Ci
@all_stores
||=
self
.
data_stores
.
keys
end
def
persist_store
def
persist
able
_store
# get first available store from the back of the list
all_stores
.
reverse
.
find
{
|
store
|
get_store_class
(
store
).
available?
}
end
...
...
@@ -99,7 +99,7 @@ module Ci
def
persist_data!
in_lock
(
*
lock_params
)
do
# Write opetation is atomic
unsafe_persist_to!
(
self
.
class
.
persist_store
)
unsafe_persist_to!
(
self
.
class
.
persist
able
_store
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment