Merge pull request #5430 from ioito/automated-cherry-pick-of-#5429-upstream-release-3.1

Automated cherry pick of #5429: fix: typo for sku sync
This commit is contained in:
yunion-ci-robot
2020-03-10 11:15:58 +08:00
committed by GitHub
@@ -100,7 +100,7 @@ func (self *CloudAccountSyncSkusTask) OnInit(ctx context.Context, obj db.IStanda
syncFunc = models.ServerSkuManager.SyncServerSkus
case models.ElasticcacheSkuManager.Keyword():
syncFunc = models.ElasticcacheSkuManager.SyncElasticcacheSkus
case models.ElasticcacheSkuManager.Keyword():
case models.DBInstanceSkuManager.Keyword():
syncFunc = models.DBInstanceSkuManager.SyncDBInstanceSkus
}