Merge pull request #10400 from ioito/automated-cherry-pick-of-#10399-upstream-release-3.7

Automated cherry pick of #10399: fix: optimzed tag update and sync
This commit is contained in:
Zexi Li
2021-03-18 10:18:06 +08:00
committed by GitHub
15 changed files with 77 additions and 43 deletions
+3 -1
View File
@@ -14,6 +14,8 @@
package cloudprovider
import "yunion.io/x/pkg/errors"
type SFakeOnPremiseRegion struct {
}
@@ -54,7 +56,7 @@ func (region *SFakeOnPremiseRegion) GetSysTags() map[string]string {
}
func (region *SFakeOnPremiseRegion) GetTags() (map[string]string, error) {
return nil, nil
return nil, errors.Wrap(ErrNotImplemented, "GetTags")
}
func (region *SFakeOnPremiseRegion) SetTags(tags map[string]string, replace bool) error {