Fix lint issue

pull/19382/head
Tom McLaughlin 2024-08-03 01:51:59 -07:00 committed by Medya Ghazizadeh
parent 0aa5fb0b24
commit c455ff30c1
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ var addonsImagesCmd = &cobra.Command{
case "table":
printAddonImagesTable(addon)
case "json":
printAddonImagesJson(addon)
printAddonImagesJSON(addon)
default:
exit.Message(reason.Usage, fmt.Sprintf("invalid output format: %s. Valid values: 'table', 'json'", addonImagesOutput))
}
@ -82,7 +82,7 @@ func printAddonImagesTable(addon string) {
}
}
func printAddonImagesJson(addon string) {
func printAddonImagesJSON(addon string) {
if conf, ok := assets.Addons[addon]; ok {
if conf.Images != nil {
var data []string