Skip to content

Commit

Permalink
Merge pull request #7835 from radeksm/bugdix/7792
Browse files Browse the repository at this point in the history
change emoji for:  notifying new kubernetes version is available
  • Loading branch information
priyawadhwa authored Apr 24, 2020
2 parents c6b95ea + 3d9ceba commit 43948fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minikube/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ func getKubernetesVersion(old *config.ClusterConfig) string {

}
if defaultVersion.GT(nvs) {
out.T(out.ThumbsUp, "Kubernetes {{.new}} is now available. If you would like to upgrade, specify: --kubernetes-version={{.new}}", out.V{"new": defaultVersion})
out.T(out.New, "Kubernetes {{.new}} is now available. If you would like to upgrade, specify: --kubernetes-version={{.new}}", out.V{"new": defaultVersion})
}
return nv
}
1 change: 1 addition & 0 deletions pkg/minikube/out/style.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ var styles = map[StyleEnum]style{
Unpause: {Prefix: "⏯️ "},
Confused: {Prefix: "😕 "},
Shrug: {Prefix: "🤷 "},
New: {Prefix: "🆕 "},

// Specialized purpose styles
ISODownload: {Prefix: "💿 "},
Expand Down
1 change: 1 addition & 0 deletions pkg/minikube/out/style_enum.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@ const (
AddonEnable
AddonDisable
Shrug
New
)

0 comments on commit 43948fa

Please sign in to comment.