From 1b2f26e06c32f2e5c26a70288d8d91e6ad92683a Mon Sep 17 00:00:00 2001 From: muXxer Date: Fri, 21 Apr 2023 15:22:06 +0200 Subject: [PATCH] Revert nolint directives for now --- packages/peering/lpp/lppNetImpl.go | 2 -- packages/peering/lpp/lppPeer.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/packages/peering/lpp/lppNetImpl.go b/packages/peering/lpp/lppNetImpl.go index 73e10b376d..948d43dd18 100644 --- a/packages/peering/lpp/lppNetImpl.go +++ b/packages/peering/lpp/lppNetImpl.go @@ -426,8 +426,6 @@ func (n *netImpl) NumUsers() int { } // Await implements peering.PeerSender for the Self() node. -// -//nolint:revive func (n *netImpl) Await(timeout time.Duration) error { return nil // This node is alive immediately. } diff --git a/packages/peering/lpp/lppPeer.go b/packages/peering/lpp/lppPeer.go index 59ebdff41c..c7d9c39f21 100644 --- a/packages/peering/lpp/lppPeer.go +++ b/packages/peering/lpp/lppPeer.go @@ -201,8 +201,6 @@ func (p *peer) IsAlive() bool { } // Await implements peering.PeerSender interface for the remote peers. -// -//nolint:revive func (p *peer) Await(timeout time.Duration) error { p.accessLock.RLock() defer p.accessLock.RUnlock()