Skip to content

Commit

Permalink
Fix the issue where wasmplugin does not work when kingress exists (#1450
Browse files Browse the repository at this point in the history
)
  • Loading branch information
johnlanni authored Oct 29, 2024
1 parent 2219a17 commit 9a1edcd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/ingress/translation/translation.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,9 @@ func (m *IngressTranslation) List(typ config.GroupVersionKind, namespace string)
higressConfig = append(higressConfig, ingressConfig...)
if m.kingressConfig != nil {
kingressConfig := m.kingressConfig.List(typ, namespace)
if kingressConfig == nil {
return nil
if kingressConfig != nil {
higressConfig = append(higressConfig, kingressConfig...)
}
higressConfig = append(higressConfig, kingressConfig...)
}
return higressConfig
}
Expand Down

0 comments on commit 9a1edcd

Please # to comment.