summaryrefslogtreecommitdiff
path: root/app/models/clusters
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-02-15 12:43:44 +1300
committerThong Kuah <tkuah@gitlab.com>2019-02-15 12:43:44 +1300
commit13bb704d50cc885935bc7b0f850d47c1ace5cdd7 (patch)
treef062da3cd61f2cce2e7c74d81e796d0a278e8aba /app/models/clusters
parent4e5494081e95adf05ab9df47c284bd796ecc4b01 (diff)
downloadgitlab-ce-13bb704d50cc885935bc7b0f850d47c1ace5cdd7.tar.gz
Remove #ready? method in favor of #available?
Given https://github.com/helm/helm/issues/3338, I think that we should exclude applications that are :update_errored, :updating as well.
Diffstat (limited to 'app/models/clusters')
-rw-r--r--app/models/clusters/concerns/application_status.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/clusters/concerns/application_status.rb b/app/models/clusters/concerns/application_status.rb
index 9ecd7229604..5c0164831bc 100644
--- a/app/models/clusters/concerns/application_status.rb
+++ b/app/models/clusters/concerns/application_status.rb
@@ -80,10 +80,6 @@ module Clusters
installed? || updated?
end
- def ready?
- installed? || updating? || updated? || update_errored?
- end
-
def update_in_progress?
updating?
end