Merge pull request #302 in YUNIONIO/onecloud from ~QUXUAN/onecloud:bugfix/qx-uniq-zone to release/2.2.0

* commit '58d6bd1ba034b277417ddd63602390d301158149':
This commit is contained in:
邱剑
2018-10-17 18:02:33 +08:00
+1 -2
View File
@@ -2,7 +2,6 @@ package azure
import (
"context"
"fmt"
"strings"
"yunion.io/x/jsonutils"
@@ -37,7 +36,7 @@ func (self *SZone) GetName() string {
}
func (self *SZone) GetGlobalId() string {
return fmt.Sprintf("%s/%s", self.region.GetGlobalId(), self.region.client.subscriptionId)
return self.region.GetGlobalId()
}
func (self *SZone) IsEmulated() bool {