From 2492402ba3311ab6618f58d692ad15518c54cac6 Mon Sep 17 00:00:00 2001 From: linchizhen Date: Sun, 22 Sep 2024 23:56:55 +0800 Subject: [PATCH] chore: fix function name (#2861) Signed-off-by: linchizhen --- internal/render/pod.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/render/pod.go b/internal/render/pod.go index 829834df..7acb6e2d 100644 --- a/internal/render/pod.go +++ b/internal/render/pod.go @@ -401,7 +401,7 @@ func checkInitContainerStatus(cs v1.ContainerStatus, count, initCount int, resta return "Init:" + strconv.Itoa(count) + "/" + strconv.Itoa(initCount) } -// PosStatus computes pod status. +// PodStatus computes pod status. func PodStatus(pod *v1.Pod) string { reason := string(pod.Status.Phase) if pod.Status.Reason != "" {