mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
remove unnecessary fmt
This commit is contained in:
parent
fcbf1c1012
commit
3afcbae1a8
@ -2854,7 +2854,7 @@ func getPodReadyCondition(spec *api.PodSpec, containerStatuses []api.ContainerSt
|
|||||||
unreadyMessage := strings.Join(unreadyMessages, ", ")
|
unreadyMessage := strings.Join(unreadyMessages, ", ")
|
||||||
if unreadyMessage != "" {
|
if unreadyMessage != "" {
|
||||||
// return unready status.
|
// return unready status.
|
||||||
return readyPodCondition(false, fmt.Sprint("ContainersNotReady"), unreadyMessage)
|
return readyPodCondition(false, "ContainersNotReady", unreadyMessage)
|
||||||
}
|
}
|
||||||
// return ready status.
|
// return ready status.
|
||||||
return readyPodCondition(true, "", "")
|
return readyPodCondition(true, "", "")
|
||||||
|
Loading…
Reference in New Issue
Block a user