-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix client response check after PR #2298 #2558
Fix client response check after PR #2298 #2558
Conversation
The write endpoint is returning StatusNoContent instead of StatusOK when the write is successful.
@vladlopes good catch. however, you'll need to fix the associated tests before we can merge this. let me know if you're interested in doing that, otherwise one of us can take it over. |
I will take care of the tests... |
The Client return a nil (json null) response on a sucessful write
nice... i couldn't figure out why |
awesome, kicked the build and we're green. 👍 |
Maybe we should also check for a nil response on the client test (https://github.com/influxdb/influxdb/blob/master/client/influxdb_test.go#L116)? The test is discarding it... |
Fix client response check after PR #2298
@vladlopes would you mind signing the CLA? Thanks! |
@toddboom Just did! |
The write endpoint is returning
StatusNoContent
instead ofStatusOK
when the write is successful.This will be important only for clients that check for returning
*Response
being nil, as in both cases theerr
returned will be nil.