mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
remove legacyscheme dep from printFlags
This commit is contained in:
@@ -110,7 +110,7 @@ type ExposeServiceOptions struct {
|
||||
func NewExposeServiceOptions(ioStreams genericclioptions.IOStreams) *ExposeServiceOptions {
|
||||
return &ExposeServiceOptions{
|
||||
RecordFlags: genericclioptions.NewRecordFlags(),
|
||||
PrintFlags: printers.NewPrintFlags("exposed"),
|
||||
PrintFlags: printers.NewPrintFlags("exposed", legacyscheme.Scheme),
|
||||
|
||||
Recorder: genericclioptions.NoopRecorder{},
|
||||
IOStreams: ioStreams,
|
||||
|
||||
Reference in New Issue
Block a user