mranney / node_riak

Riak client for node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

POST dumps data to console

jockster opened this issue · comments

Running the POST command dumps data to console. Apparent by jsut invoking POST as seen in my pull request that includes the POST command in the test suite.

Here's what being outputted:

riak post /riak/bucket_1 non-200 statusCode: 201, body: , post_body: "value"

I saw this as well. I added a TODO to figure out the correct success and warning conditions.

If you'd like to research that by looking at the riak docs, we could change the if statement so it stops making false-warnings.

Cheers,
D