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