mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-02-03 05:18:52 +08:00
fix: Solve the issue of being unable to filter applications when the operating system is aarch64. (#10620)
This commit is contained in:
parent
4597cb26a1
commit
597000ce52
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue