Skip to content

Commit

Permalink
KCP: Change Pod does not exist message to allow aggregation
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Büringer [email protected]
  • Loading branch information
sbueringer committed Nov 19, 2024
1 parent 2dbfdf2 commit 0d02544
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ func (w *Workload) updateStaticPodCondition(ctx context.Context, machine *cluste
Type: staticPodV1beta2Condition,
Status: metav1.ConditionFalse,
Reason: controlplanev1.KubeadmControlPlaneMachinePodDoesNotExistV1Beta2Reason,
Message: fmt.Sprintf("Pod %s does not exist", podKey.Name),
Message: "Pod does not exist",
})
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ func TestUpdateStaticPodCondition(t *testing.T) {
Type: v1beta2Condition,
Status: metav1.ConditionFalse,
Reason: controlplanev1.KubeadmControlPlaneMachinePodDoesNotExistV1Beta2Reason,
Message: "Pod kube-component-node does not exist",
Message: "Pod does not exist",
},
},
{
Expand Down

0 comments on commit 0d02544

Please sign in to comment.