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
d92534f7
Commit
d92534f7
authored
Nov 08, 2021
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove cluster preload_elasticsack & preload_environments scopes
parent
bff6c914
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
app/models/clusters/cluster.rb
app/models/clusters/cluster.rb
+0
-2
No files found.
app/models/clusters/cluster.rb
View file @
d92534f7
...
...
@@ -139,8 +139,6 @@ module Clusters
scope
:with_available_elasticstack
,
->
{
joins
(
:application_elastic_stack
).
merge
(
::
Clusters
::
Applications
::
ElasticStack
.
available
)
}
scope
:with_available_cilium
,
->
{
joins
(
:application_cilium
).
merge
(
::
Clusters
::
Applications
::
Cilium
.
available
)
}
scope
:distinct_with_deployed_environments
,
->
{
joins
(
:environments
).
merge
(
::
Deployment
.
success
).
distinct
}
scope
:preload_elasticstack
,
->
{
preload
(
:integration_elastic_stack
)
}
scope
:preload_environments
,
->
{
preload
(
:environments
)
}
scope
:managed
,
->
{
where
(
managed:
true
)
}
scope
:with_persisted_applications
,
->
{
eager_load
(
*
APPLICATIONS_ASSOCIATIONS
)
}
...
...
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