Skip to content

Commit

Permalink
More comments
Browse files Browse the repository at this point in the history
  • Loading branch information
willhug committed Nov 10, 2016
1 parent 0b2647e commit 91af1f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions transport/peer/peerlist/single.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package peerlist

import (
"context"

"sync"

"go.uber.org/yarpc/transport"
Expand All @@ -19,9 +18,9 @@ type single struct {
}

// NewSingle creates a static PeerList with a single Peer
func NewSingle(pi transport.PeerIdentifier, agent transport.Agent) transport.PeerList {
func NewSingle(pid transport.PeerIdentifier, agent transport.Agent) transport.PeerList {
return &single{
initialPeerID: pi,
initialPeerID: pid,
agent: agent,
started: false,
}
Expand Down

0 comments on commit 91af1f5

Please sign in to comment.