Skip to content

Commit 67f4b20

Browse files
committed
remove noisy logs
Signed-off-by: Nir <[email protected]>
1 parent 18ae24f commit 67f4b20

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

controllers/poisonpillremediation_controller.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,10 @@ func (r *PoisonPillRemediationReconciler) getNodeFromPpr(ppr *v1alpha1.PoisonPil
290290

291291
for _, ownerRef := range ppr.OwnerReferences {
292292
if ownerRef.Kind == "Machine" {
293-
r.logger.Info("assuming the unhealthy resource is a machine")
294293
return r.getNodeFromMachine(ownerRef, ppr.Namespace)
295294
}
296295
}
297296

298-
r.logger.Info("assuming the unhealthy resource is a node")
299297
//since we didn't find a machine owner ref, we assume that ppr name is the unhealthy node name
300298
node := &v1.Node{}
301299
key := client.ObjectKey{

0 commit comments

Comments
 (0)