Skip to content

Commit

Permalink
Merge d2cc8a7 into 3b73c80
Browse files Browse the repository at this point in the history
  • Loading branch information
valaparthvi authored Jul 5, 2023
2 parents 3b73c80 + d2cc8a7 commit ed41625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/odo/cli/preference/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func HumanReadableOutput(preferenceList api.PreferenceList, registryList []api.R
preferenceT.SortBy([]table.SortBy{{Name: "PARAMETER", Mode: table.Asc}})
for _, pref := range preferenceList.Items {
value := showBlankIfNil(pref.Value)
if reflect.DeepEqual(value, pref.Default) {
if value != "" && reflect.DeepEqual(value, pref.Default) {
value = fmt.Sprintf("%v (default)", value)
}
preferenceT.AppendRow(table.Row{pref.Name, value})
Expand Down

0 comments on commit ed41625

Please sign in to comment.