chore: fix function name (#2861)

Signed-off-by: linchizhen <jiayanbing@yeah.net>
mine
linchizhen 2024-09-22 23:56:55 +08:00 committed by GitHub
parent c1613feeef
commit 2492402ba3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 != "" {