diff --git a/backend/app/service/container.go b/backend/app/service/container.go index 14fc6fdc2..f1c6b1e4f 100644 --- a/backend/app/service/container.go +++ b/backend/app/service/container.go @@ -264,7 +264,7 @@ func (u *ContainerService) Prune(req dto.ContainerPrune) (dto.ContainerPruneRepo } func (u *ContainerService) LoadResouceLimit() (*dto.ResourceLimit, error) { - cpuCounts, err := cpu.Counts(false) + cpuCounts, err := cpu.Counts(true) if err != nil { return nil, fmt.Errorf("load cpu limit failed, err: %v", err) }