mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #13005 from ioito/hotfix/qx-server-sku-scheduler-sync
fix(region): sku scheduler sync
This commit is contained in:
@@ -591,6 +591,11 @@ func (self *SServerSku) ValidateUpdateData(ctx context.Context, userCred mcclien
|
||||
return input, nil
|
||||
}
|
||||
|
||||
func (self *SServerSku) PostUpdate(ctx context.Context, userCred mcclient.TokenCredential, query jsonutils.JSONObject, data jsonutils.JSONObject) {
|
||||
ServerSkuManager.ClearSchedDescCache(true)
|
||||
self.SEnabledStatusStandaloneResourceBase.PostUpdate(ctx, userCred, query, data)
|
||||
}
|
||||
|
||||
func (self *SServerSku) Delete(ctx context.Context, userCred mcclient.TokenCredential) error {
|
||||
log.Infof("SServerSku delete do nothing")
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user