From 9d86f92521c0379193215b448cba007e9769036c Mon Sep 17 00:00:00 2001 From: Leandro Poroli Date: Tue, 15 Oct 2024 16:12:34 -0300 Subject: [PATCH] fix after lint warnings --- kardinal/topology/topology.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kardinal/topology/topology.go b/kardinal/topology/topology.go index b9fcb20..aced8fd 100644 --- a/kardinal/topology/topology.go +++ b/kardinal/topology/topology.go @@ -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)