Merge pull request #83720 from bart0sh/PR0080-kubeadm-remove-OutputFlagSpecified

kubeadm: remove OutputFlagSpecified from PrintFlags
This commit is contained in:
Kubernetes Prow Robot 2019-10-10 07:32:12 -07:00 committed by GitHub
commit 6284c9ab52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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