Skip to content

Commit

Permalink
Create showNotK8sVersionInfo function
Browse files Browse the repository at this point in the history
Create a showNotK8sVersionInfo func to output the runtime and runtime version
  • Loading branch information
Gimb0 committed May 20, 2022
1 parent c49e799 commit 123c2bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/minikube/node/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ func showVersionInfo(k8sVersion string, cr cruntime.Manager) {
}
}

func showNotK8sVersionInfo(cr cruntime.Manager) {
version, _ := cr.Version()
out.Step(cr.Style(), "Preparing {{.runtime}} {{.runtimeVersion}} ...", out.V{"runtime": cr.Name(), "runtimeVersion": version})
}

// configureMounts configures any requested filesystem mounts
func configureMounts(wg *sync.WaitGroup, cc config.ClusterConfig) {
wg.Add(1)
Expand Down

0 comments on commit 123c2bb

Please sign in to comment.