81eedcd5be
The linter is strictly correct, but the code is structured this way to avoid variable shadowing problems in the following for loop. The context doesn't leak. Staticcheck is correctly pointing out that this code is hard to follow. However, this chunk of code is in service of enforcing one frontend <> one backend, and we want to remove that limitation. So, we'll just ignore the lint warning until this entire piece of code goes away. Signed-off-by: David Anderson <dave@natulte.net> |
||
---|---|---|
.. | ||
ipnserver | ||
backend.go | ||
doc.go | ||
e2e_test.go | ||
fake.go | ||
handle.go | ||
local.go | ||
message.go | ||
message_test.go | ||
prefs.go | ||
prefs_test.go |