fix'--log-file only works if --logtostderr=false'
This commit is contained in:
parent
f880187573
commit
25f479c2ac
@ -568,7 +568,7 @@ func isAllowedFlag(flagName string) bool {
|
||||
kubeadmcmdoptions.KubeconfigDir,
|
||||
kubeadmcmdoptions.UploadCerts,
|
||||
kubeadmcmdoptions.Patches,
|
||||
"print-join-command", "rootfs", "v")
|
||||
"print-join-command", "rootfs", "v", "log-file")
|
||||
if allowedFlags.Has(flagName) {
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user