Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
witriew committed Aug 25, 2021
1 parent e391075 commit 102ab1e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions encoding/thrift/envelope.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,16 @@ type disableEnvelopingNoWireProtocol struct {
Type wire.EnvelopeType
}

func (evsp disableEnvelopingNoWireProtocol) Reader(r io.Reader) stream.Reader {
func (evnw disableEnvelopingNoWireProtocol) Reader(r io.Reader) stream.Reader {
return disableEnvelopingNoWireReader{
Reader: evsp.Protocol.Reader(r),
Type: evsp.Type,
Reader: evnw.Protocol.Reader(r),
Type: evnw.Type,
}
}

func (evsp disableEnvelopingNoWireProtocol) Writer(w io.Writer) stream.Writer {
func (evnw disableEnvelopingNoWireProtocol) Writer(w io.Writer) stream.Writer {
return disableEnvelopingWriter{
Writer: evsp.Protocol.Writer(w),
Writer: evnw.Protocol.Writer(w),
}
}

Expand Down

0 comments on commit 102ab1e

Please sign in to comment.