Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Aug 15, 2019
1 parent 88817dc commit 58bc4c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/rpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (r *rpcClient) stream(ctx context.Context, node *registry.Node, req Request
response: rsp,
closed: make(chan bool),
codec: codec,
id: id,
id: id,
// signal the end of stream,
eos: true,
}
Expand Down
2 changes: 1 addition & 1 deletion client/rpc_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (r *rpcStream) Close() error {
Method: r.request.Method(),
Endpoint: r.request.Endpoint(),
Type: codec.Error,
Error: lastStreamResponseError,
Error: lastStreamResponseError,
}, nil)
}

Expand Down
2 changes: 1 addition & 1 deletion util/socket/socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (s *Socket) Send(m *transport.Message) error {
// make copy
msg := &transport.Message{
Header: make(map[string]string),
Body: make([]byte, len(m.Body)),
Body: make([]byte, len(m.Body)),
}

// copy headers
Expand Down

0 comments on commit 58bc4c1

Please sign in to comment.