diff --git a/pkg/controller/replication_controller_test.go b/pkg/controller/replication_controller_test.go index f7f49a76993..c0ba80d8eea 100644 --- a/pkg/controller/replication_controller_test.go +++ b/pkg/controller/replication_controller_test.go @@ -1136,7 +1136,7 @@ func TestOverlappingRCs(t *testing.T) { controllers = append(controllers, controllerSpec) } shuffledControllers := shuffle(controllers) - for j, _ := range shuffledControllers { + for j := range shuffledControllers { manager.controllerStore.Store.Add(shuffledControllers[j]) } // Add a pod and make sure only the oldest rc is synced