We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18ae24f commit 67f4b20Copy full SHA for 67f4b20
controllers/poisonpillremediation_controller.go
@@ -290,12 +290,10 @@ func (r *PoisonPillRemediationReconciler) getNodeFromPpr(ppr *v1alpha1.PoisonPil
290
291
for _, ownerRef := range ppr.OwnerReferences {
292
if ownerRef.Kind == "Machine" {
293
- r.logger.Info("assuming the unhealthy resource is a machine")
294
return r.getNodeFromMachine(ownerRef, ppr.Namespace)
295
}
296
297
298
- r.logger.Info("assuming the unhealthy resource is a node")
299
//since we didn't find a machine owner ref, we assume that ppr name is the unhealthy node name
300
node := &v1.Node{}
301
key := client.ObjectKey{
0 commit comments