Skip to content

Commit ed929f3

Browse files
committed
fix(aliyun): lb listener rule
1 parent 48870d0 commit ed929f3

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)