From 68833094e1cc0af3f3ab648dd461062dfc2c1cdd Mon Sep 17 00:00:00 2001 From: rainzm Date: Wed, 13 Oct 2021 18:40:41 +0800 Subject: [PATCH] fix(climc): set param 'enable' as *bool --- pkg/mcclient/options/notify/robot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/mcclient/options/notify/robot.go b/pkg/mcclient/options/notify/robot.go index dac8ade0da..554075d1de 100644 --- a/pkg/mcclient/options/notify/robot.go +++ b/pkg/mcclient/options/notify/robot.go @@ -24,7 +24,7 @@ type RobotListOptions struct { options.BaseListOptions Lang string Type string `choices:"feishu|dingtalk|workwx|webhook"` - Enabled bool + Enabled *bool } func (rl *RobotListOptions) Params() (jsonutils.JSONObject, error) {