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:
Kubernetes Submit Queue 2018-05-14 07:59:08 -07:00 committed by GitHub
commit 1b1defb060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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