Skip to content

Commit 123c2bb

Browse files
committed
Create showNotK8sVersionInfo function
Create a showNotK8sVersionInfo func to output the runtime and runtime version
1 parent c49e799 commit 123c2bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/minikube/node/config.go

+5
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ func showVersionInfo(k8sVersion string, cr cruntime.Manager) {
5151
}
5252
}
5353

54+
func showNotK8sVersionInfo(cr cruntime.Manager) {
55+
version, _ := cr.Version()
56+
out.Step(cr.Style(), "Preparing {{.runtime}} {{.runtimeVersion}} ...", out.V{"runtime": cr.Name(), "runtimeVersion": version})
57+
}
58+
5459
// configureMounts configures any requested filesystem mounts
5560
func configureMounts(wg *sync.WaitGroup, cc config.ClusterConfig) {
5661
wg.Add(1)

0 commit comments

Comments
 (0)