From ffebe51e000c82cec297c85dd1bbb717d89ca31b Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Fri, 17 Apr 2020 12:06:46 -0700 Subject: [PATCH] add styles for verifying --- pkg/minikube/bootstrapper/bsutil/kverify/node_conditions.go | 2 -- pkg/minikube/out/style.go | 2 ++ pkg/minikube/out/style_enum.go | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/minikube/bootstrapper/bsutil/kverify/node_conditions.go b/pkg/minikube/bootstrapper/bsutil/kverify/node_conditions.go index 6d7d0d0f71..0fb8e5c3e5 100644 --- a/pkg/minikube/bootstrapper/bsutil/kverify/node_conditions.go +++ b/pkg/minikube/bootstrapper/bsutil/kverify/node_conditions.go @@ -94,7 +94,6 @@ func (e *ErrNetworkNotReady) Error() string { return fmt.Sprintf(errTextFormat, e.Type, e.Reason, e.Message) } - // NodePressure verfies that node is not under disk, memory, pid or network pressure. func NodePressure(cs *kubernetes.Clientset) error { glog.Info("verifying NodePressure condition ...") @@ -141,4 +140,3 @@ func NodePressure(cs *kubernetes.Clientset) error { } return nil } - diff --git a/pkg/minikube/out/style.go b/pkg/minikube/out/style.go index 1cd400d2ae..a70e9bf489 100644 --- a/pkg/minikube/out/style.go +++ b/pkg/minikube/out/style.go @@ -70,6 +70,7 @@ var styles = map[StyleEnum]style{ ThumbsUp: {Prefix: "👍 "}, ThumbsDown: {Prefix: "👎 "}, Option: {Prefix: " ▪ ", LowPrefix: lowIndent}, // Indented bullet + OptionVerify: {Prefix: " 🔎 ", LowPrefix: lowIndent}, // Indented verifying icon Command: {Prefix: " ▪ ", LowPrefix: lowIndent}, // Indented bullet LogEntry: {Prefix: " "}, // Indent Deleted: {Prefix: "💀 "}, @@ -108,6 +109,7 @@ var styles = map[StyleEnum]style{ Enabling: {Prefix: "🔌 "}, Shutdown: {Prefix: "🛑 "}, Pulling: {Prefix: "🚜 "}, + HealthCheck: {Prefix: "🕵️ "}, // mac needed extra space for right tabbing Verifying: {Prefix: "🤔 "}, VerifyingNoLine: {Prefix: "🤔 ", OmitNewline: true}, Kubectl: {Prefix: "💗 "}, diff --git a/pkg/minikube/out/style_enum.go b/pkg/minikube/out/style_enum.go index 1437b26823..40122a48db 100644 --- a/pkg/minikube/out/style_enum.go +++ b/pkg/minikube/out/style_enum.go @@ -43,6 +43,7 @@ const ( ThumbsUp ThumbsDown Option + OptionVerify Command LogEntry Deleted @@ -73,6 +74,7 @@ const ( Enabling Shutdown Pulling + HealthCheck Verifying VerifyingNoLine Kubectl