Commit 89537223 authored by Yong Tang's avatar Yong Tang Committed by Miek Gieben

Restore changes in vendor directory (#2594)

Part of the changes in 2591 modifies the vendor directory
which should not be modified. `dep ensure` will change it back.

This fix reverts the change of
```
vendor/github.com/apache/thrift/lib/go/thrift/simple_json_protocol.go
```

in 2591.
Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent 9ce9308f
...@@ -334,7 +334,7 @@ func (p *TSimpleJSONProtocol) ReadFieldBegin() (string, TType, int16, error) { ...@@ -334,7 +334,7 @@ func (p *TSimpleJSONProtocol) ReadFieldBegin() (string, TType, int16, error) {
p.reader.ReadByte() p.reader.ReadByte()
name, err := p.ParseStringBody() name, err := p.ParseStringBody()
// simplejson is not meant to be read back into thrift // simplejson is not meant to be read back into thrift
// - see https://wiki.apache.org/thrift/ThriftUsageJava // - see http://wiki.apache.org/thrift/ThriftUsageJava
// - use JSON instead // - use JSON instead
if err != nil { if err != nil {
return name, STOP, 0, err return name, STOP, 0, err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment