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:
authorThong Kuah <tkuah@gitlab.com>2019-02-12 06:13:59 +0300
committerThong Kuah <tkuah@gitlab.com>2019-02-15 02:34:23 +0300
commit9eeca2db6db51e1d7b121a0efdfe14b517dea4b6 (patch)
treeefd98ebc11bfb63a48b9b2281ac8a9f16d9275c9 /app/models/clusters/applications
parente2a56bd1ae6af4166db108eca4455530d98f6aa8 (diff)
Move common method to application concern
This could be potentially useful to all cluster applications. Address followup issue https://gitlab.com/gitlab-org/gitlab-ce/issues/56524
Diffstat (limited to 'app/models/clusters/applications')
-rw-r--r--app/models/clusters/applications/prometheus.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/clusters/applications/prometheus.rb b/app/models/clusters/applications/prometheus.rb
index 52c440ffb2f..fa7ce363531 100644
--- a/app/models/clusters/applications/prometheus.rb
+++ b/app/models/clusters/applications/prometheus.rb
@@ -6,7 +6,6 @@ module Clusters
include PrometheusAdapter
VERSION = '6.7.3'
- READY_STATUS = [:installed, :updating, :updated, :update_errored].freeze
self.table_name = 'clusters_applications_prometheus'
@@ -25,10 +24,6 @@ module Clusters
end
end
- def ready?
- READY_STATUS.include?(status_name)
- end
-
def chart
'stable/prometheus'
end