Skip to content

Commit 6fef6a5

Browse files
authored
Merge pull request #1453 from ioito/hotfix/qx-aliyun-lb-listener-rule
fix(aliyun): lb listener rule
2 parents 48870d0 + ed929f3 commit 6fef6a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/multicloud/aliyun/loadbalancerlistenerrule.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ func (lbr *SLoadbalancerListenerRule) GetDomain() string {
9898
}
9999

100100
func (lbr *SLoadbalancerListenerRule) GetPath() string {
101+
if len(lbr.Url) == 0 {
102+
return "/"
103+
}
101104
return lbr.Url
102105
}
103106

0 commit comments

Comments
 (0)