From f343dc1530693da87f4d954b5c4ab33527ff5ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=88=E8=BD=A9?= Date: Mon, 17 Jun 2024 20:44:27 +0800 Subject: [PATCH] fix(climc): add service choices for worker-list (#20556) --- cmd/climc/shell/compute/workers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/climc/shell/compute/workers.go b/cmd/climc/shell/compute/workers.go index 6ff4e521e9..467c987c5c 100644 --- a/cmd/climc/shell/compute/workers.go +++ b/cmd/climc/shell/compute/workers.go @@ -23,7 +23,7 @@ import ( func init() { type WorkerListOptions struct { - ServiceType string `choices:"image|cloudid|cloudevent|devtool|ansible|identity|notify|log|compute|compute_v2"` + ServiceType string `choices:"image|cloudid|cloudevent|devtool|ansible|identity|notify|log|compute|compute_v2|meter|suggestion|cloudmon|cloudproxy|dns|monitor|scheduler|vpcagent|webconsole|yunionconf|bastionhost|extdb|yunionapi"` } R(&WorkerListOptions{}, "worker-list", "List workers", func(s *mcclient.ClientSession, args *WorkerListOptions) error { result, err := modules.Workers.List(s, jsonutils.Marshal(args))