diff --git a/src/types/ebpf.d.ts b/src/types/ebpf.d.ts index b40597ef..4598528e 100644 --- a/src/types/ebpf.d.ts +++ b/src/types/ebpf.d.ts @@ -52,7 +52,7 @@ export type Process = { instanceName: string; agentId: string; detectType: string; - attributes: { name: string; value: string }; + attributes: { name: string; value: string }[]; labels: string[]; }; export type StackElement = { diff --git a/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue b/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue index bb8a88e7..2e144ad4 100644 --- a/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue +++ b/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue @@ -34,7 +34,7 @@ limitations under the License. --> placeholder="Please input name" class="input-with-search" size="small" - @change="searchProcesses" + @change="searchProcesses(0)" >