kubeadm: remove OutputFlagSpecified from PrintFlags

This field is not used in the kubeadm code. It was brought from
cli-runtime where it's used to support complex relationship between
command line parameters, which is not present in kubeadm.
This commit is contained in:
Ed Bartosh 2019-10-10 12:53:05 +03:00
parent 2d8b8703de
commit 078f7a3537

View File

@ -49,10 +49,6 @@ type PrintFlags struct {
TypeSetterPrinter *printers.TypeSetterPrinter
// OutputFormat contains currently set output format
OutputFormat *string
// OutputFlagSpecified indicates whether the user specifically requested a certain kind of output.
// Using this function allows a sophisticated caller to change the flag binding logic if they so desire.
OutputFlagSpecified func() bool
}
// AllowedFormats returns list of allowed output formats