mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
Merge pull request #6918 from ioito/hotfix/qx-azure-project-sync
fix: 避免azure同步项目失败
This commit is contained in:
@@ -470,7 +470,7 @@ func (self *SAzureClient) CreateResourceGroup(name, location string) (*SResource
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "getDefaultClient")
|
||||
}
|
||||
if len(location) == 0 || len(self.iregions) == 0 {
|
||||
if len(location) == 0 && len(self.iregions) == 0 {
|
||||
return nil, fmt.Errorf("missing location info")
|
||||
}
|
||||
if len(location) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user