diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-22 09:08:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-22 09:08:26 +0300 |
commit | 675e3de0be2c28ce7b94264debbde39bbde760a2 (patch) | |
tree | e313f096eca675dc9c9b721c596bd78f5cd97603 /app/models/clusters | |
parent | dc3735fabb211b07347e58a667b1fa9a15aa7b68 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/clusters')
-rw-r--r-- | app/models/clusters/platforms/kubernetes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/clusters/platforms/kubernetes.rb b/app/models/clusters/platforms/kubernetes.rb index 66bce755598..9d4f0a89403 100644 --- a/app/models/clusters/platforms/kubernetes.rb +++ b/app/models/clusters/platforms/kubernetes.rb @@ -322,7 +322,7 @@ module Clusters class: error.class.name, message: error.message }, - status_code: error.error_code, + status_code: error.try(:error_code), namespace: self.namespace, class_name: self.class.name, event: :kube_connection_error |