mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
move type setting into an optional layer above normal printing
This commit is contained in:
@@ -834,7 +834,7 @@ func TestDeletePods(t *testing.T) {
|
||||
defer tf.Cleanup()
|
||||
|
||||
o := DrainOptions{
|
||||
PrintFlags: printers.NewPrintFlags("drained", legacyscheme.Scheme),
|
||||
PrintFlags: printers.NewPrintFlags("drained").WithTypeSetter(scheme.Scheme),
|
||||
}
|
||||
o.Out = os.Stdout
|
||||
|
||||
|
||||
Reference in New Issue
Block a user