diff options
author | João Cunha <j.a.cunha@gmail.com> | 2019-07-02 15:59:59 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2019-07-02 15:59:59 +0300 |
commit | 637e510da147f73587faa0414c67638c2e4729f7 (patch) | |
tree | 14d568eee2e7b9be3524bb05efcfdbd2daa17f89 /app/models/clusters/applications/jupyter.rb | |
parent | 34a22b831135faeb8f4c70a3b8a3b8d525ccd164 (diff) |
Enables ingress for uninstallation
- JupyterHub must not be available (installed or updated)
Diffstat (limited to 'app/models/clusters/applications/jupyter.rb')
-rw-r--r-- | app/models/clusters/applications/jupyter.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/models/clusters/applications/jupyter.rb b/app/models/clusters/applications/jupyter.rb index 9e4b87d0993..9ede0615fa3 100644 --- a/app/models/clusters/applications/jupyter.rb +++ b/app/models/clusters/applications/jupyter.rb @@ -23,9 +23,7 @@ module Clusters return unless cluster&.application_ingress_available? ingress = cluster.application_ingress - if ingress.external_ip || ingress.external_hostname - self.status = 'installable' - end + self.status = 'installable' if ingress.external_ip_or_hostname? end def chart |