Skip to content

Commit 6a7c84c

Browse files
authored
refactor: omit unnecessary reassignment (#3067)
Signed-off-by: nuxtreact <nuxtreact@outlook.com>
1 parent b92e97e commit 6a7c84c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/raft/election_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ func TestDynamicLeaderElectionRun(t *testing.T) {
311311
}
312312

313313
for name, spec := range specs {
314-
name, spec := name, spec
315314
t.Run(name, func(t *testing.T) {
316315
d, runCtx, cancel := spec.setup(t)
317316
defer cancel()

0 commit comments

Comments
 (0)