mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
remove unused PrintFlags.Scheme
This commit is contained in:
parent
e34df0a26c
commit
7e4014e02b
@ -76,8 +76,6 @@ type PrintFlags struct {
|
|||||||
NamePrintFlags *NamePrintFlags
|
NamePrintFlags *NamePrintFlags
|
||||||
|
|
||||||
OutputFormat *string
|
OutputFormat *string
|
||||||
|
|
||||||
Scheme runtime.ObjectConvertor
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *PrintFlags) Complete(successTemplate string) error {
|
func (f *PrintFlags) Complete(successTemplate string) error {
|
||||||
@ -126,8 +124,6 @@ func NewPrintFlags(operation string, scheme runtime.ObjectConvertor) *PrintFlags
|
|||||||
return &PrintFlags{
|
return &PrintFlags{
|
||||||
OutputFormat: &outputFormat,
|
OutputFormat: &outputFormat,
|
||||||
|
|
||||||
Scheme: scheme,
|
|
||||||
|
|
||||||
JSONYamlPrintFlags: NewJSONYamlPrintFlags(scheme),
|
JSONYamlPrintFlags: NewJSONYamlPrintFlags(scheme),
|
||||||
NamePrintFlags: NewNamePrintFlags(operation, scheme),
|
NamePrintFlags: NewNamePrintFlags(operation, scheme),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user