Skip to content

Commit

Permalink
chore: change selection template labels
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuDa committed Dec 23, 2024
1 parent 978da07 commit b290377
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions kong/request_termination_attack.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ func (f RequestTerminationAction) Describe() action_kit_api.ActionDescription {
TargetType: RouteTargetID,
SelectionTemplates: extutil.Ptr([]action_kit_api.TargetSelectionTemplate{
{
Label: "by route-id",
Label: "route-id",
Description: extutil.Ptr("Find route by id"),
Query: "kong.route.id=\"\"",
},
{
Label: "by route-name",
Label: "route-name",
Description: extutil.Ptr("Find route by name"),
Query: "kong.route.name=\"\"",
},
Expand Down
4 changes: 2 additions & 2 deletions kong/service_request_termination_attack.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ func (f ServiceTerminationAction) Describe() action_kit_api.ActionDescription {
TargetType: ServiceTargetId,
SelectionTemplates: extutil.Ptr([]action_kit_api.TargetSelectionTemplate{
{
Label: "by route-id",
Label: "route-id",
Description: extutil.Ptr("Find service by id"),
Query: "kong.service.id=\"\"",
},
{
Label: "by route-name",
Label: "route-name",
Description: extutil.Ptr("Find service by name"),
Query: "kong.service.name=\"\"",
},
Expand Down

0 comments on commit b290377

Please sign in to comment.