mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 02:37:24 +08:00
fix: avoid host globalid change (#7465)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user