mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #83720 from bart0sh/PR0080-kubeadm-remove-OutputFlagSpecified
kubeadm: remove OutputFlagSpecified from PrintFlags
This commit is contained in:
commit
6284c9ab52
@ -49,10 +49,6 @@ type PrintFlags struct {
|
|||||||
TypeSetterPrinter *printers.TypeSetterPrinter
|
TypeSetterPrinter *printers.TypeSetterPrinter
|
||||||
// OutputFormat contains currently set output format
|
// OutputFormat contains currently set output format
|
||||||
OutputFormat *string
|
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
|
// AllowedFormats returns list of allowed output formats
|
||||||
|
Loading…
Reference in New Issue
Block a user