fix: avoid generated codes having duplicate PerformSetScope methods

This commit is contained in:
Qiu Jian
2020-08-01 17:34:54 +08:00
parent ef7d456037
commit 9bdf2c75e1
4 changed files with 16 additions and 13 deletions
+1 -1
View File
@@ -609,5 +609,5 @@ func (s *SSchedtag) AllowPerformSetScope(ctx context.Context, userCred mcclient.
}
func (s *SSchedtag) PerformSetScope(ctx context.Context, userCred mcclient.TokenCredential, query jsonutils.JSONObject, data jsonutils.JSONObject) (jsonutils.JSONObject, error) {
return SchedtagManager.PerformSetScope(ctx, s, userCred, data)
return db.PerformSetScope(ctx, s, userCred, data)
}