Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix breakage from rebase/merge.

  • Loading branch information...
commit 7253e3eb9fefc9f878c394aaead392a0d88c3700 1 parent e085ef2
@seancribbs seancribbs authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 riak-client/lib/riak/client/net_http_backend.rb
View
4 riak-client/lib/riak/client/net_http_backend.rb
@@ -47,9 +47,9 @@ def perform(method, uri, headers, expect, data=nil) #:nodoc:
response.read_body {|chunk| yield chunk } if block_given?
if return_body?(method, response.code, block_given?)
result[:body] = response.body
- else
- raise Riak::HTTPFailedRequest.new(method, expect, response.code.to_i, response.to_hash, response.body)
end
+ else
+ raise Riak::HTTPFailedRequest.new(method, expect, response.code.to_i, response.to_hash, response.body)
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.