diff --git a/client/rb_client/resource_invoke.rb b/client/rb_client/resource_invoke.rb index 1fd9dfe..c2c1c37 100644 --- a/client/rb_client/resource_invoke.rb +++ b/client/rb_client/resource_invoke.rb @@ -6,7 +6,7 @@ class ResourceInvoke def initialize(host, port) @socket = Thrift::Socket.new(host, port) @transport = Thrift::BufferedTransport.new(@socket) - @protocol = Thrift::BinaryProtocol.new(@transport) + @protocol = Thrift::BinaryProtocol.new(@transport, false) @client = ResourceService::ResourceService::Client.new(@protocol) end