diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-02-15 12:43:44 +1300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-02-15 12:43:44 +1300 |
commit | 13bb704d50cc885935bc7b0f850d47c1ace5cdd7 (patch) | |
tree | f062da3cd61f2cce2e7c74d81e796d0a278e8aba /app/models/clusters | |
parent | 4e5494081e95adf05ab9df47c284bd796ecc4b01 (diff) | |
download | gitlab-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.rb | 4 |
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 |