Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into release-please--branches--main--components--…
Browse files Browse the repository at this point in the history
…kardinal-kontrol
  • Loading branch information
leoporoli authored Sep 16, 2024
2 parents 89a4ed6 + f5b1376 commit 07ffd06
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions kontrol-service/engine/flow/merger.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func foldAllIngress(ingresses []*resolved.Ingress) []*resolved.Ingress {
IngressID: key,
ActiveFlowIDs: lo.Uniq(lo.FlatMap(value, func(ingress *resolved.Ingress, _ int) []string { return ingress.ActiveFlowIDs })),
IngressRules: lo.Uniq(lo.FlatMap(value, func(ingress *resolved.Ingress, _ int) []*v1.IngressRule { return ingress.IngressRules })),
IngressSpec: value[0].IngressSpec,
ServiceSpec: value[0].ServiceSpec,
}
return &merged
Expand Down

0 comments on commit 07ffd06

Please sign in to comment.