Skip to content

Commit 723b074

Browse files
authored
Merge pull request #6409 from medyagh/plist_cr_info
add container runtime info to profile list
2 parents 8babe97 + 4168734 commit 723b074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/minikube/cmd/config/profile_list.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ var printProfilesTable = func() {
6060

6161
var validData [][]string
6262
table := tablewriter.NewWriter(os.Stdout)
63-
table.SetHeader([]string{"Profile", "VM Driver", "NodeIP", "Node Port", "Kubernetes Version", "Status"})
63+
table.SetHeader([]string{"Profile", "VM Driver", "Runtime", "IP", "Port", "Version", "Status"})
6464
table.SetAutoFormatHeaders(false)
6565
table.SetBorders(tablewriter.Border{Left: true, Top: true, Right: true, Bottom: true})
6666
table.SetCenterSeparator("|")
@@ -84,7 +84,7 @@ var printProfilesTable = func() {
8484
if err != nil {
8585
exit.WithError("profile has no control plane", err)
8686
}
87-
validData = append(validData, []string{p.Name, p.Config.VMDriver, cp.IP, strconv.Itoa(cp.Port), p.Config.KubernetesConfig.KubernetesVersion, p.Status})
87+
validData = append(validData, []string{p.Name, p.Config.VMDriver, p.Config.KubernetesConfig.ContainerRuntime, cp.IP, strconv.Itoa(cp.Port), p.Config.KubernetesConfig.KubernetesVersion, p.Status})
8888
}
8989

9090
table.AppendBulk(validData)

0 commit comments

Comments
 (0)