diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-03-19 07:33:34 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-03-19 07:33:34 +0000 |
commit | 6cfea81e6dc51e9627e2b2f64e29834e0e9bfc60 (patch) | |
tree | f9a4e8632ab00f17e66b770039de485dcb1c811f /lib | |
parent | 4773111e95dbddb9c41619d512cc457a4089f0ff (diff) | |
parent | 83874edb77235d2a276f114f72942c43e8be3a44 (diff) | |
download | gitlab-ce-6cfea81e6dc51e9627e2b2f64e29834e0e9bfc60.tar.gz |
Merge branch 'update-kubeclient' into 'master'
Update kubeclient 2.2.0 -> 3.0
Closes #43911
See merge request gitlab-org/gitlab-ce!17739
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/kubernetes/namespace.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/kubernetes/namespace.rb b/lib/gitlab/kubernetes/namespace.rb index fbbddb7bffa..e6ff6160ab9 100644 --- a/lib/gitlab/kubernetes/namespace.rb +++ b/lib/gitlab/kubernetes/namespace.rb @@ -10,7 +10,7 @@ module Gitlab def exists? @client.get_namespace(name) - rescue ::KubeException => ke + rescue ::Kubeclient::HttpError => ke raise ke unless ke.error_code == 404 false |