diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-06 20:29:13 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-06 20:29:13 +0100 |
commit | 9c76c44805effc7acb7d3cbd7ff4bd132cbbf100 (patch) | |
tree | 586d5aa53624647e5129681bbf747383a325fcde /app/models/clusters | |
parent | 02f99feec25491c07777682b20f74f3b0b2b074d (diff) | |
download | gitlab-ce-9c76c44805effc7acb7d3cbd7ff4bd132cbbf100.tar.gz |
Fix small error [ci skip]
Diffstat (limited to 'app/models/clusters')
-rw-r--r-- | app/models/clusters/applications/helm.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/clusters/applications/helm.rb b/app/models/clusters/applications/helm.rb index 9bc5c026645..c203beb4915 100644 --- a/app/models/clusters/applications/helm.rb +++ b/app/models/clusters/applications/helm.rb @@ -18,7 +18,7 @@ module Clusters end def set_initial_status - self.status = 0 unless cluster.platform_kubernetes_active? + self.status = 0 unless cluster&.platform_kubernetes_active? end def name |