mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	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:
		
							
								
								
									
										2
									
								
								vendor/github.com/apache/thrift/lib/go/thrift/simple_json_protocol.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/apache/thrift/lib/go/thrift/simple_json_protocol.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -334,7 +334,7 @@ func (p *TSimpleJSONProtocol) ReadFieldBegin() (string, TType, int16, error) { | ||||
| 			p.reader.ReadByte() | ||||
| 			name, err := p.ParseStringBody() | ||||
| 			// 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 | ||||
| 			if err != nil { | ||||
| 				return name, STOP, 0, err | ||||
|   | ||||
		Reference in New Issue
	
	Block a user