mirror of
https://github.com/alibaba/higress.git
synced 2026-05-27 14:17:27 +08:00
Fix the issue where wasmplugin does not work when kingress exists (#1450)
This commit is contained in:
@@ -187,10 +187,9 @@ func (m *IngressTranslation) List(typ config.GroupVersionKind, namespace string)
|
|||||||
higressConfig = append(higressConfig, ingressConfig...)
|
higressConfig = append(higressConfig, ingressConfig...)
|
||||||
if m.kingressConfig != nil {
|
if m.kingressConfig != nil {
|
||||||
kingressConfig := m.kingressConfig.List(typ, namespace)
|
kingressConfig := m.kingressConfig.List(typ, namespace)
|
||||||
if kingressConfig == nil {
|
if kingressConfig != nil {
|
||||||
return nil
|
higressConfig = append(higressConfig, kingressConfig...)
|
||||||
}
|
}
|
||||||
higressConfig = append(higressConfig, kingressConfig...)
|
|
||||||
}
|
}
|
||||||
return higressConfig
|
return higressConfig
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user