mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
remove legacyscheme dep from printFlags
This commit is contained in:
@@ -126,7 +126,7 @@ type RunOptions struct {
|
||||
|
||||
func NewRunOptions(streams genericclioptions.IOStreams) *RunOptions {
|
||||
return &RunOptions{
|
||||
PrintFlags: printers.NewPrintFlags("created"),
|
||||
PrintFlags: printers.NewPrintFlags("created", legacyscheme.Scheme),
|
||||
DeleteFlags: NewDeleteFlags("to use to replace the resource."),
|
||||
RecordFlags: genericclioptions.NewRecordFlags(),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user