Commit 3afcbae1 authored by mqliang's avatar mqliang

remove unnecessary fmt

parent fcbf1c10
......@@ -2854,7 +2854,7 @@ func getPodReadyCondition(spec *api.PodSpec, containerStatuses []api.ContainerSt
unreadyMessage := strings.Join(unreadyMessages, ", ")
if unreadyMessage != "" {
// return unready status.
return readyPodCondition(false, fmt.Sprint("ContainersNotReady"), unreadyMessage)
return readyPodCondition(false, "ContainersNotReady", unreadyMessage)
}
// return ready status.
return readyPodCondition(true, "", "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment