From 1adbd9a5a5585adb95b6bb123dcce10ccf741fe6 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 55e2ec0c7..65b1678b3 100644 --- a/pkg/topology/builder.go +++ b/pkg/topology/builder.go @@ -782,9 +782,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 }