From b401a961c2f822ccf5244feb05ace30811d1ae13 Mon Sep 17 00:00:00 2001 From: Jian Qiu Date: Mon, 30 Jan 2023 17:44:32 +0800 Subject: [PATCH] fix: climc logs-splitable support monitor notify (#15868) Co-authored-by: QIU Jian --- pkg/mcclient/options/logs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/mcclient/options/logs.go b/pkg/mcclient/options/logs.go index 1fa7f719a7..92373ddeef 100644 --- a/pkg/mcclient/options/logs.go +++ b/pkg/mcclient/options/logs.go @@ -18,7 +18,7 @@ import "yunion.io/x/jsonutils" type EventSplitableOptions struct { ID string `choices:"splitable|splitable-export"` - Service string `help:"service" choices:"compute|identity|image|log|cloudevent" default:"compute"` + Service string `help:"service" choices:"compute|identity|image|log|cloudevent|monitor|notify" default:"compute"` Table string `help:"when id is splitable-export table must be input"` } @@ -31,7 +31,7 @@ func (self *EventSplitableOptions) Params() (jsonutils.JSONObject, error) { } type EventPurgeSplitableOptions struct { - Service string `help:"service" choices:"compute|identity|image|log|cloudevent" default:"compute"` + Service string `help:"service" choices:"compute|identity|image|log|cloudevent|monitor|notify" default:"compute"` Tables []string }