lntest: fix most linter warnings, silence rest
We fix all linter issues except for the 'lostcontext' and 'unparam' ones as those are too numerous and would increase the diff even more. Therefore we silence them in the itest directory for now. Because the linter is still not build tag aware, we also have to silence the unused and deadcode sub linters to not get false positives.
This commit is contained in:
1 parent
c769247198
commit
719e32830d
19 files changed
+58
-93
No files matched your search
@@ -463,7 +463,6 @@ func (n *NetworkHarness) EnsureConnected(ctx context.Context, a, b *HarnessNode)
|
||||
|
||||
err := n.connect(ctx, req, a)
|
||||
switch {
|
||||
|
||||
// Request was successful, wait for both to display the
|
||||
// connection.
|
||||
case err == nil:
|
||||
|
||||
Reference in new issue
Block a user