remove legacyscheme dep from printFlags

This commit is contained in:
juanvallejo
2018-05-08 16:05:48 -04:00
parent d09cd75ea6
commit 40e52bf07d
53 changed files with 136 additions and 105 deletions

View File

@@ -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,