Unverified Commit 1b1defb0 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #63794 from hzxuzhonghu/tmp-5-14

Automatic merge from submit-queue (batch tested with PRs 63761, 63794, 63649). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. remove unused PrintFlags.Scheme PrintFlags.Scheme is unused, remove it. **Release note**: ```release-note NONE ```
parents d5a930be 7e4014e0
...@@ -76,8 +76,6 @@ type PrintFlags struct { ...@@ -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 ...@@ -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),
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment