From 2903daaaf690a62dea9de96546751af8d030300a Mon Sep 17 00:00:00 2001 From: squ94wk Date: Thu, 28 Mar 2024 16:06:53 +0100 Subject: [PATCH] Update pkg/controller/machineset/delete_policy.go --- pkg/controller/machineset/delete_policy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/machineset/delete_policy.go b/pkg/controller/machineset/delete_policy.go index 186ffd3be..3e120559f 100644 --- a/pkg/controller/machineset/delete_policy.go +++ b/pkg/controller/machineset/delete_policy.go @@ -81,7 +81,7 @@ func defaultDeletePolicy(machine *v1alpha1.Machine) deletePriority { return mustDelete } - if machine.Status.NodeRef == nil{ + if machine.Status.NodeRef == nil { return mustDelete }