From 07e41b3dcf6920eeb842b2b4f4c679eb46520829 Mon Sep 17 00:00:00 2001 From: Steven Powell <spowellgrr@gmail.com> Date: Thu, 25 Feb 2021 16:16:10 -0700 Subject: [PATCH] do InfoF is user specified JSON --- pkg/minikube/out/out.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/minikube/out/out.go b/pkg/minikube/out/out.go index 37034b4c78..cd85c64a6c 100644 --- a/pkg/minikube/out/out.go +++ b/pkg/minikube/out/out.go @@ -95,10 +95,7 @@ func Step(st style.Enum, format string, a ...V) { // Styled writes a stylized and templated message to stdout func Styled(st style.Enum, format string, a ...V) { - if JSON { - return - } - if st == style.Option { + if JSON || st == style.Option { Infof(format, a...) return }