diff options
author | Pirate Praveen <praveen@debian.org> | 2018-03-15 08:14:13 +0100 |
---|---|---|
committer | Pirate Praveen <praveen@debian.org> | 2018-03-15 08:14:13 +0100 |
commit | 53e2987ba6a8b2fb79f5754ae13924f2939d81fd (patch) | |
tree | 93fa29420c03f066f56a6eeecc14e00ab7137490 /app/services/clusters/applications/install_service.rb | |
parent | 0b246d5734b5ac10660b7af06d0f72380bd1e9bc (diff) | |
download | gitlab-ce-53e2987ba6a8b2fb79f5754ae13924f2939d81fd.tar.gz |
Replace KubeException with Kubeclient::HttpError (kubeclient 3.0)
Diffstat (limited to 'app/services/clusters/applications/install_service.rb')
-rw-r--r-- | app/services/clusters/applications/install_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/clusters/applications/install_service.rb b/app/services/clusters/applications/install_service.rb index 8ceeec687cd..4c25a09814b 100644 --- a/app/services/clusters/applications/install_service.rb +++ b/app/services/clusters/applications/install_service.rb @@ -10,7 +10,7 @@ module Clusters ClusterWaitForAppInstallationWorker.perform_in( ClusterWaitForAppInstallationWorker::INTERVAL, app.name, app.id) - rescue KubeException => ke + rescue Kubeclient::HttpError => ke app.make_errored!("Kubernetes error: #{ke.message}") rescue StandardError app.make_errored!("Can't start installation process") |