Commit b9916610 authored by Dylan Griffith's avatar Dylan Griffith

Remove special handling for 404 response from K8s

There is no reason to specially handle 404 here. We only handle 404
specifically if we are fetching something and want to return `nil` if
404.  This does not apply here.
parent ef58a640
......@@ -16,8 +16,6 @@ module Clusters
configure_kubernetes_token
kubernetes_namespace.save!
rescue ::Kubeclient::HttpError => err
raise err unless err.error_code = 404
end
private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment