mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
fix cli example
This commit is contained in:
parent
2f09876c44
commit
085e8bf6c4
@ -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