supporting response docs for mongo 2.2+ #22

wants to merge 1 commit into

1 participant


Hello :)

I was trying to login to mongo versions 2.2 and 2.4 without success. What I found is that the response on those versions have many docs (more than version 2.0), so the <<"ok">> msg could not be found. Example:

For 2.0, we get:


For 2.2 and 2.4, we get:


The fix will not assume that we get only one element in the response list, tested with 2.0, 2.2, and 2.4, so I hope it is acceptable.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment