Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GitLab EE
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
projects.thm.de
GitLab EE
Commits
31f873b2
Commit
31f873b2
authored
3 years ago
by
Dmitry Gruzd
Browse files
Options
Downloads
Patches
Plain Diff
fixup! Remove old Advanced Search migrations
parent
bd5e969c
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ee/app/services/elastic/data_migration_service.rb
+1
-1
1 addition, 1 deletion
ee/app/services/elastic/data_migration_service.rb
with
1 addition
and
1 deletion
ee/app/services/elastic/data_migration_service.rb
+
1
−
1
View file @
31f873b2
...
...
@@ -26,7 +26,7 @@ def [](version)
end
def
find_by_name!
(
name
)
migrations
.
find
{
|
migration
|
migration
.
name_for_key
==
name
.
to_s
.
underscore
}
||
(
raise
ArgumentError
,
"Couldn't find Elastic::Migration with name=
#{
name
}
"
)
migrations
.
find
{
|
migration
|
migration
.
name_for_key
==
name
.
to_s
.
underscore
}
||
(
raise
ArgumentError
,
"Couldn't find Elastic::Migration with name=
'
#{
name
}
'
"
)
end
def
drop_migration_has_finished_cache!
(
migration
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment