fix: avoid host globalid change (#7465)

Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
This commit is contained in:
屈轩
2020-08-01 21:33:02 +08:00
committed by GitHub
co-authored by Qu Xuan
parent a962db0e9a
commit a51f0271eb
+1 -1
View File
@@ -36,7 +36,7 @@ func (self *SHost) GetMetadata() *jsonutils.JSONDict {
}
func (host *SHost) GetId() string {
return host.zone.GetId()
return host.zone.GetGlobalId()
}
func (host *SHost) GetGlobalId() string {