mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Merge pull request #16660 from mqliang/DelFmt
Auto commit by PR queue bot
This commit is contained in:
commit
17e36b02f4
@ -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