mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #16210 from erictune/indent-grace
Auto commit by PR queue bot
This commit is contained in:
commit
c160d919f5
@ -289,8 +289,8 @@ func logPodStates(pods []api.Pod) {
|
|||||||
if pod.DeletionGracePeriodSeconds != nil {
|
if pod.DeletionGracePeriodSeconds != nil {
|
||||||
grace = fmt.Sprintf("%ds", *pod.DeletionGracePeriodSeconds)
|
grace = fmt.Sprintf("%ds", *pod.DeletionGracePeriodSeconds)
|
||||||
}
|
}
|
||||||
Logf("%-[1]*[2]s %-[3]*[4]s %-[5]*[6]s %[7]s %[8]s",
|
Logf("%-[1]*[2]s %-[3]*[4]s %-[5]*[6]s %-[7]*[8]s %[9]s",
|
||||||
maxPodW, pod.ObjectMeta.Name, maxNodeW, pod.Spec.NodeName, maxPhaseW, pod.Status.Phase, grace, pod.Status.Conditions)
|
maxPodW, pod.ObjectMeta.Name, maxNodeW, pod.Spec.NodeName, maxPhaseW, pod.Status.Phase, maxGraceW, grace, pod.Status.Conditions)
|
||||||
}
|
}
|
||||||
Logf("") // Final empty line helps for readability.
|
Logf("") // Final empty line helps for readability.
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user