From 522957e5b4f1d7cc0051b361862378fd0e05ea33 Mon Sep 17 00:00:00 2001 From: Daniel Tomcej Date: Wed, 13 May 2020 13:51:01 -0700 Subject: [PATCH] new lint --- pkg/topology/builder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/topology/builder.go b/pkg/topology/builder.go index 2a0b81f00..0ed64fa54 100644 --- a/pkg/topology/builder.go +++ b/pkg/topology/builder.go @@ -787,9 +787,9 @@ func mapCopy(m map[Key]struct{}) map[Key]struct{} { func removeTrafficSplitsLoop(loopDetected map[*Service][]Key) { for svc, tss := range loopDetected { - for _, loopTs := range tss { + for _, loopTS := range tss { for i, ts := range svc.TrafficSplits { - if ts == loopTs { + if ts == loopTS { svc.TrafficSplits = append(svc.TrafficSplits[:i], svc.TrafficSplits[i+1:]...) break }