Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jfbus committed Nov 12, 2018
1 parent 2fb2c7a commit 6278658
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ type workingTransport struct {

func (*workingTransport) RegisterEndpoints(m endpoint.Middleware) error { return nil }
func (t *workingTransport) Start(ctx context.Context) error {
defer func() {
close(t.running)
}()
defer func() { close(t.running) }()
<-ctx.Done()
return nil
}
Expand Down

0 comments on commit 6278658

Please sign in to comment.