Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Menno Pruijssers committed Jun 10, 2016
1 parent 5cb81ed commit eb5422f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion events/events.go
Expand Up @@ -58,7 +58,7 @@ type LookupEvent struct {
// A LookupNEvent is sent when a lookupN is performed on the Ringpop's ring
type LookupNEvent struct {
Key string
N int
N int
Duration time.Duration
}

Expand Down
2 changes: 1 addition & 1 deletion ringpop.go
Expand Up @@ -621,7 +621,7 @@ func (rp *Ringpop) LookupN(key string, n int) ([]string, error) {

rp.emit(events.LookupNEvent{
Key: key,
N: n,
N: n,
Duration: duration,
})

Expand Down
2 changes: 1 addition & 1 deletion ringpop_test.go
Expand Up @@ -545,7 +545,7 @@ func (s *RingpopTestSuite) TestLookupNotReady() {
func (s *RingpopTestSuite) TestLookupNoDestination() {
createSingleNodeCluster(s.ringpop)

address,_ := s.ringpop.identity()
address, _ := s.ringpop.identity()
s.ringpop.ring.RemoveServer(address)

result, err := s.ringpop.Lookup("foo")
Expand Down

0 comments on commit eb5422f

Please sign in to comment.