fix(cloudcommon): disable EventNotify for now

The front end is not yet open, temporarily disable it to avoid meaningless logic and requests
This commit is contained in:
rainzm
2021-05-12 10:41:03 +08:00
parent 1c8170e71f
commit 15abea72a2
+3
View File
@@ -219,6 +219,9 @@ type SEventNotifyParam struct {
}
func EventNotify(ctx context.Context, userCred mcclient.TokenCredential, ep SEventNotifyParam) {
// disable EventNotify for now
return
ret, err := db.FetchCustomizeColumns(ep.Obj.GetModelManager(), ctx, userCred, jsonutils.NewDict(), []interface{}{ep.Obj}, stringutils2.SSortedStrings{}, false)
if err != nil {
log.Errorf("unable to FetchCustomizeColumns: %v", err)