Skip to content

Commit

Permalink
fix: add GetName() to show name correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
chansuke committed Sep 18, 2024
1 parent f4f8e66 commit 56a7a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guest/testdata/handle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ func (pluginForGet) Filter(_ api.CycleState, pod proto.Pod, nodeInfo api.NodeInf
// This is being skipped, note the reason.
return &api.Status{
Code: api.StatusCodeSkip,
Reason: "UID is " + pod.GetUid() + " and waitingPod is " + waitingPod.Name,
Reason: "UID is " + pod.GetUid() + " and waitingPod is " + waitingPod.GetPod().GetName(),
}
}

0 comments on commit 56a7a11

Please sign in to comment.