Skip to content

Conversation

@TylerBrock
Copy link
Contributor

Note that I changed the API here by putting the extra option argument before info (the output parameter). I wouldn't be hung up on changing it back so that the options come after the output to keep things the same. Let me know what you think.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add a comment to the effect that options in 'extra' that shadow options set by parameters have indeterminate effects.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, didn't see this before.

@TylerBrock
Copy link
Contributor Author

Ok, updates are up. Let me know if you think it looks ok.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ASSERT_TRUE?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, we generally don't expect runCommand to fail (especially for "collstats") and this isn't testing the runCommand functionality but why not right?

@acmorrow
Copy link
Contributor

LGTM. Ship it!

@TylerBrock TylerBrock merged commit fcb6bee into mongodb:legacy Jun 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants