Merge pull request #10955 from zhaoxiangchun/automated-cherry-pick-of-#10954-upstream-release-3.7

Automated cherry pick of #10954: fix(monitor): alertdashboard setscope
This commit is contained in:
Zexi Li
2021-04-27 20:12:15 +08:00
committed by GitHub
+2 -1
View File
@@ -107,7 +107,8 @@ func (dash *SAlertDashBoard) CustomizeCreate(
query jsonutils.JSONObject,
data jsonutils.JSONObject,
) error {
return dash.SScopedResourceBase.CustomizeCreate(ctx, userCred, ownerId, query, data)
//return dash.SScopedResourceBase.CustomizeCreate(ctx, userCred, ownerId, query, data)
return nil
}
func (dash *SAlertDashBoard) PostCreate(ctx context.Context,