Skip to content

Commit

Permalink
fix: avoid host globalid change (#7466)
Browse files Browse the repository at this point in the history
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
  • Loading branch information
ioito and Qu Xuan committed Aug 1, 2020
1 parent 8172a55 commit 6e64fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/multicloud/google/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6e64fc4

Please sign in to comment.