diff --git a/kong/request_termination_attack.go b/kong/request_termination_attack.go index b487c93..5064a57 100644 --- a/kong/request_termination_attack.go +++ b/kong/request_termination_attack.go @@ -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=\"\"", }, diff --git a/kong/service_request_termination_attack.go b/kong/service_request_termination_attack.go index 7f98986..8e72d6a 100644 --- a/kong/service_request_termination_attack.go +++ b/kong/service_request_termination_attack.go @@ -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=\"\"", },