mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-01 03:07:51 +08:00
[FIX] bug: update-upstreams is null
This commit is contained in:
parent
121adc04c1
commit
dc88237914
@ -239,7 +239,7 @@ func (osvc *OrService) UpdatePools(pools []*v1.Pool) error {
|
||||
upstream.Servers = append(upstream.Servers, server)
|
||||
}
|
||||
if len(upstream.Servers) == 0 {
|
||||
break
|
||||
continue
|
||||
}
|
||||
upstreams = append(upstreams, upstream)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user