summaryrefslogtreecommitdiff
path: root/app/models/environment.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-26 18:11:43 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-26 18:11:43 +0000
commitbc75527dca77b2b72331ac6cbd5928d5b8c0c419 (patch)
tree000196faadb05f6e2ff60c08865b1a09506e5522 /app/models/environment.rb
parentc82ca12a1c5a359325cb45aaf01b483d1fa0efcb (diff)
downloadgitlab-ce-bc75527dca77b2b72331ac6cbd5928d5b8c0c419.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/environment.rb')
-rw-r--r--app/models/environment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/environment.rb b/app/models/environment.rb
index c6a08c996da..cfdcb0499e6 100644
--- a/app/models/environment.rb
+++ b/app/models/environment.rb
@@ -371,7 +371,7 @@ class Environment < ApplicationRecord
end
def elastic_stack_available?
- !!deployment_platform&.cluster&.application_elastic_stack&.available?
+ !!deployment_platform&.cluster&.application_elastic_stack_available?
end
private