mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
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 ```
This commit is contained in:
commit
1b1defb060
@ -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