mirror of
https://github.com/alibaba/higress.git
synced 2026-05-28 06:37:26 +08:00
Release 1.1 (#412)
This commit is contained in:
@@ -293,8 +293,9 @@ func (c *controller) HasSynced() bool {
|
||||
}
|
||||
|
||||
func (c *controller) List() []config.Config {
|
||||
c.mutex.RLock()
|
||||
out := make([]config.Config, 0, len(c.ingresses))
|
||||
|
||||
c.mutex.RUnlock()
|
||||
for _, raw := range c.ingressInformer.GetStore().List() {
|
||||
ing, ok := raw.(*ingress.Ingress)
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user