From 2b986ef6389f5238624c9e161dec3e60fb94c85c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Thu, 11 Jul 2019 22:03:22 +0200 Subject: [PATCH] Fix golint complaint about new OutT/ErrT functions --- pkg/minikube/console/console.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/minikube/console/console.go b/pkg/minikube/console/console.go index d79bc00a6e7a..0e2389025f4a 100644 --- a/pkg/minikube/console/console.go +++ b/pkg/minikube/console/console.go @@ -66,6 +66,7 @@ func OutStyle(style StyleEnum, format string, a ...interface{}) { Out(outStyled, a...) } +// OutT writes a stylized and templated message to stdout func OutT(style StyleEnum, format string, a map[string]interface{}) { outStyled := applyTemplateFormatting(style, useColor, format, a) Out(outStyled) @@ -94,6 +95,7 @@ func ErrStyle(style StyleEnum, format string, a ...interface{}) { Err(errStyled, a...) } +// ErrT writes a stylized and templated error message to stderr func ErrT(style StyleEnum, format string, a map[string]interface{}) { errStyled := applyTemplateFormatting(style, useColor, format, a) Err(errStyled)