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

Commit

Permalink
fix after lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
leoporoli committed Oct 15, 2024
1 parent 2a630a6 commit 9d86f92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kardinal/topology/topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,10 @@ func (clusterTopology *ClusterTopology) GetNetIngresses() ([]*net.Ingress, []*co
for _, pathOriginal := range ruleOriginal.HTTP.Paths {
target := clusterTopology.GetServiceByVersion(namespace, pathOriginal.Backend.Service.Name, activeFlowID)
// fallback to baseline if backend not found at the active flow
//OPERATOR-TODO
// OPERATOR-TODO
// the baseline topology (or prod topology) flow ID and flow version are equal to the namespace these three should use same value //TODO this doesn't apply for the current approach
//TODO with Kardinal-Kontrol the baselineFlowVersion and namespace where equal because Kontrol modify the Service's metadata like the 'version' label
//TODO we need to find a way to get the real version, not modified
// TODO with Kardinal-Kontrol the baselineFlowVersion and namespace where equal because Kontrol modify the Service's metadata like the 'version' label
// TODO we need to find a way to get the real version, not modified
baselineFlowVersion := namespace
if target == nil {
target = clusterTopology.GetServiceByVersion(namespace, pathOriginal.Backend.Service.Name, baselineFlowVersion)
Expand Down

0 comments on commit 9d86f92

Please sign in to comment.