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: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang
2019-02-21 23:35:05 -08:00
committed by Miek Gieben
parent 9ce9308f5c
commit 8953722327

View File

@@ -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