Skip to content

Commit

Permalink
Revert nolint directives for now
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Apr 21, 2023
1 parent 34aff11 commit 1b2f26e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/peering/lpp/lppNetImpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
Expand Down
2 changes: 0 additions & 2 deletions packages/peering/lpp/lppPeer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1b2f26e

Please sign in to comment.