From 597000ce52b89b121552396a3d0e06c923df91b8 Mon Sep 17 00:00:00 2001 From: CityFun <31820853+zhengkunwang223@users.noreply.github.com> Date: Mon, 13 Oct 2025 21:28:53 +0800 Subject: [PATCH] fix: Solve the issue of being unable to filter applications when the operating system is aarch64. (#10620) --- agent/app/service/app.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/agent/app/service/app.go b/agent/app/service/app.go index 0ba63c427..6c6998e02 100644 --- a/agent/app/service/app.go +++ b/agent/app/service/app.go @@ -72,7 +72,11 @@ func (a AppService) PageApp(ctx *gin.Context, req request.AppSearch) (interface{ if err != nil { return nil, err } - opts = append(opts, appRepo.WithArch(info.KernelArch)) + kernelArch := info.KernelArch + if kernelArch == "aarch64" { + kernelArch = "arm64" + } + opts = append(opts, appRepo.WithArch(kernelArch)) } if len(req.Tags) != 0 { tags, err := tagRepo.GetByKeys(req.Tags)