From 078f7a353753ca06306d5493251a88b23251509f Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Thu, 10 Oct 2019 12:53:05 +0300 Subject: [PATCH] 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. --- cmd/kubeadm/app/util/output/output.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/kubeadm/app/util/output/output.go b/cmd/kubeadm/app/util/output/output.go index c6b3b199709..bb7692b29d1 100644 --- a/cmd/kubeadm/app/util/output/output.go +++ b/cmd/kubeadm/app/util/output/output.go @@ -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