From 4c09fcb14240d6ece1d8ce4c953803b87bc4f27b Mon Sep 17 00:00:00 2001 From: Qiu Jian Date: Wed, 7 Sep 2022 00:43:15 +0800 Subject: [PATCH] fix: agent pull list with system scope --- pkg/apihelper/reflect.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/apihelper/reflect.go b/pkg/apihelper/reflect.go index 8d49d73b14..e10872f823 100644 --- a/pkg/apihelper/reflect.go +++ b/pkg/apihelper/reflect.go @@ -103,6 +103,7 @@ func GetModels(opts *GetModelsOptions) error { listOptions := options.BaseListOptions{ Admin: options.Bool(true), + Scope: "system", Details: options.Bool(opts.IncludeDetails), ShowEmulated: options.Bool(opts.IncludeEmulated), Filter: []string{