diff options
author | Peter Leitzen <pleitzen@gitlab.com> | 2018-10-15 12:03:15 +0300 |
---|---|---|
committer | Peter Leitzen <pleitzen@gitlab.com> | 2018-10-16 10:16:43 +0300 |
commit | 3a3ec6f0213addb52abc29ee83e2d6a00e2292d3 (patch) | |
tree | 42d2840271155af848cbe22d20a50c5757f82fa2 /app/models/clusters/applications/jupyter.rb | |
parent | 6ea674d1796488f784083eab53becb86330343cb (diff) |
Show available clusters when installed or updated
Before this commit updating Prometheus (e.g. adding alerts) made it
"updated" therefore not installed.
Diffstat (limited to 'app/models/clusters/applications/jupyter.rb')
-rw-r--r-- | app/models/clusters/applications/jupyter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/clusters/applications/jupyter.rb b/app/models/clusters/applications/jupyter.rb index 7be6a14f585..e43a0fd1786 100644 --- a/app/models/clusters/applications/jupyter.rb +++ b/app/models/clusters/applications/jupyter.rb @@ -19,7 +19,7 @@ module Clusters def set_initial_status return unless not_installable? - if cluster&.application_ingress_installed? && cluster.application_ingress.external_ip + if cluster&.application_ingress_available? && cluster.application_ingress.external_ip self.status = 'installable' end end |