Commit 9c76c448 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix small error [ci skip]

parent 02f99fee
......@@ -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
......
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