mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
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:
parent
2d8b8703de
commit
078f7a3537
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user