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 60a7a4d commit 00a9133
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions extscalesetinstance/scale_set_instance_attack_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@ func (e *scaleSetInstanceAction) Describe() action_kit_api.ActionDescription {
TargetType: TargetIDScaleSetInstance,
SelectionTemplates: extutil.Ptr([]action_kit_api.TargetSelectionTemplate{
{
Label: "by cluster name",
Label: "cluster name",
Description: extutil.Ptr("Find azure scale set instance by cluster name"),
Query: "azure-containerservice-managed-cluster.name=\"\"",
},
{
Label: "by instance name",
Label: "instance name",
Description: extutil.Ptr("Find azure scale set instance by name"),
Query: "azure-scale-set-instance.name=\"\"",
},
{
Label: "by scaleset name",
Label: "scaleset name",
Description: extutil.Ptr("Find azure scale set instance by scale set name"),
Query: "azure-scale-set.name=\"\"",
},
Expand Down
4 changes: 2 additions & 2 deletions extvm/vm_attack_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ func (e *virtualMachineStateAction) Describe() action_kit_api.ActionDescription
TargetType: TargetIDVM,
SelectionTemplates: extutil.Ptr([]action_kit_api.TargetSelectionTemplate{
{
Label: "by vm-name",
Label: "vm-name",
Description: extutil.Ptr("Find azure virtual machine by name"),
Query: "azure-vm.vm.name=\"\"",
},
{
Label: "by vm-id",
Label: "vm-id",
Description: extutil.Ptr("Find azure virtual machine by vm-id"),
Query: "azure-vm.vm.id=\"\"",
},
Expand Down

0 comments on commit 00a9133

Please sign in to comment.