Skip to content

Commit

Permalink
Merge pull request #83720 from bart0sh/PR0080-kubeadm-remove-OutputFl…
Browse files Browse the repository at this point in the history
…agSpecified

kubeadm: remove OutputFlagSpecified from PrintFlags
  • Loading branch information
k8s-ci-robot committed Oct 10, 2019
2 parents 4eb1ca4 + 078f7a3 commit 6284c9a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/kubeadm/app/util/output/output.go
Expand Up @@ -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
Expand Down

0 comments on commit 6284c9a

Please sign in to comment.