Skip to content

Commit

Permalink
Merge pull request #6409 from medyagh/plist_cr_info
Browse files Browse the repository at this point in the history
add container runtime info to profile list
  • Loading branch information
tstromberg authored Jan 31, 2020
2 parents 8babe97 + 4168734 commit 723b074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/minikube/cmd/config/profile_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ var printProfilesTable = func() {

var validData [][]string
table := tablewriter.NewWriter(os.Stdout)
table.SetHeader([]string{"Profile", "VM Driver", "NodeIP", "Node Port", "Kubernetes Version", "Status"})
table.SetHeader([]string{"Profile", "VM Driver", "Runtime", "IP", "Port", "Version", "Status"})
table.SetAutoFormatHeaders(false)
table.SetBorders(tablewriter.Border{Left: true, Top: true, Right: true, Bottom: true})
table.SetCenterSeparator("|")
Expand All @@ -84,7 +84,7 @@ var printProfilesTable = func() {
if err != nil {
exit.WithError("profile has no control plane", err)
}
validData = append(validData, []string{p.Name, p.Config.VMDriver, cp.IP, strconv.Itoa(cp.Port), p.Config.KubernetesConfig.KubernetesVersion, p.Status})
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})
}

table.AppendBulk(validData)
Expand Down

0 comments on commit 723b074

Please sign in to comment.