Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hirenko-v authored Sep 19, 2024
1 parent 3f61057 commit e1121bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/msg/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func showBothSelects(firstSelection, secondSelection string) executor.ExecuteOut
sections = append(sections, api.Section{
Buttons: []api.Button{
{
btnBuilder.ForCommandWithDescCmd("Run Command", fmt.Sprintf("kubectl get %s -n %s", firstSelection, secondSelection), api.ButtonStylePrimary),
btnBuilder.ForCommandWithDescCmd("Run act2", fmt.Sprintf("%s buttons act2", pluginName), api.ButtonStylePrimary),

Check failure on line 194 in cmd/msg/main.go

View workflow job for this annotation

GitHub Actions / Release

cannot use btnBuilder.ForCommandWithDescCmd("Run act2", fmt.Sprintf("%s buttons act2", pluginName), api.ButtonStylePrimary) (value of type api.Button) as string value in struct literal

},

Check failure on line 196 in cmd/msg/main.go

View workflow job for this annotation

GitHub Actions / Release

too few values in struct literal of type struct{Description string "json:\"description,omitempty\" yaml:\"description\""; DescriptionStyle api.ButtonDescriptionStyle "json:\"descriptionStyle\" yaml:\"descriptionStyle\""; Name string "json:\"name,omitempty\" yaml:\"name\""; Command string "json:\"command,omitempty\" yaml:\"command\""; URL string "json:\"url,omitempty\" yaml:\"url\""; Style api.ButtonStyle "json:\"style,omitempty\" yaml:\"style\""}
},
Expand Down

0 comments on commit e1121bf

Please sign in to comment.