mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #60355 from CaoShuFeng/cli_example
Automatic merge from submit-queue (batch tested with PRs 60430, 60115, 58052, 60355, 60116). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix cli example ref: https://github.com/kubernetes/kubernetes/pull/60210 /assign @deads2k **Release note**: ```release-note NONE ```
This commit is contained in:
commit
d9da83a022
@ -446,7 +446,7 @@ func newAllPhasePodList() *api.PodList {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func Example_printPodHideTerminated() {
|
func Example_printPodShowTerminated() {
|
||||||
tf := cmdtesting.NewTestFactory()
|
tf := cmdtesting.NewTestFactory()
|
||||||
ns := legacyscheme.Codecs
|
ns := legacyscheme.Codecs
|
||||||
|
|
||||||
@ -477,6 +477,8 @@ func Example_printPodHideTerminated() {
|
|||||||
// NAME READY STATUS RESTARTS AGE
|
// NAME READY STATUS RESTARTS AGE
|
||||||
// test1 1/2 Pending 6 10y
|
// test1 1/2 Pending 6 10y
|
||||||
// test2 1/2 Running 6 10y
|
// test2 1/2 Running 6 10y
|
||||||
|
// test3 1/2 Succeeded 6 10y
|
||||||
|
// test4 1/2 Failed 6 10y
|
||||||
// test5 1/2 Unknown 6 10y
|
// test5 1/2 Unknown 6 10y
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user