Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kubernetes/minikube
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1c78eff55af4b4eccdf2310bc315b7fd9f9abde5
Choose a base ref
..
head repository: kubernetes/minikube
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d42e296e879d9c0c6e6849e06718a8c5960cc348
Choose a head ref
Showing with 4 additions and 4 deletions.
  1. +4 −4 cmd/minikube/cmd/config/profile_list.go
8 changes: 4 additions & 4 deletions cmd/minikube/cmd/config/profile_list.go
Original file line number Diff line number Diff line change
@@ -43,17 +43,17 @@ var profileListCmd = &cobra.Command{

switch strings.ToLower(output) {
case "json":
printJSON()
printProfilesJSON()
case "table":
printTable()
printProfilesTable()
default:
exit.WithCodeT(exit.BadUsage, fmt.Sprintf("invalid output format: %s. Valid values: 'table', 'json'", output))
}

},
}

var printTable = func() {
var printProfilesTable = func() {

var validData [][]string

@@ -92,7 +92,7 @@ var printTable = func() {

}

var printJSON = func() {
var printProfilesJSON = func() {
validProfiles, invalidProfiles, err := config.ListProfiles()

var valid []*config.Profile