Skip to content

Commit

Permalink
Merge pull request #697 from ioito/hotfix/qx-qcloud-redis-addr
Browse files Browse the repository at this point in the history
fix: qcloud redis wan addr
  • Loading branch information
ioito authored Jan 11, 2024
2 parents 3f329f2 + fc83f51 commit dbb0e9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/multicloud/qcloud/elasticcache_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ type SElasticcache struct {
VpcID int64 `json:"VpcId"`
WANIP string `json:"WanIp"`
ZoneID int `json:"ZoneId"`
WanAddress string
}

func (self *SElasticcache) SetTags(tags map[string]string, replace bool) error {
Expand Down Expand Up @@ -448,7 +449,7 @@ func (self *SElasticcache) GetPrivateConnectPort() int {
}

func (self *SElasticcache) GetPublicDNS() string {
return ""
return self.WanAddress
}

func (self *SElasticcache) GetPublicIpAddr() string {
Expand Down

0 comments on commit dbb0e9d

Please sign in to comment.