Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Fix --mongodb-filter-on option #5161

Merged
merged 1 commit into from
Aug 10, 2018
Merged

Fix --mongodb-filter-on option #5161

merged 1 commit into from
Aug 10, 2018

Conversation

heifner
Copy link
Contributor

@heifner heifner commented Aug 10, 2018

See #5066 report of issue of filter on by @DenisCarriere

  • Fixes --mongodb-filter-on option to not include everything when used.

@DenisCarriere
Copy link
Contributor

Thanks @heifner I'll test this it right now.

@@ -1409,6 +1409,7 @@ void mongo_db_plugin::plugin_initialize(const variables_map& options)
}
if( options.count( "mongodb-filter-on" )) {
auto fo = options.at( "mongodb-filter-on" ).as<vector<string>>();
my->filter_on_star = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Glad it's an easy fix like this 👍

@heifner
Copy link
Contributor Author

heifner commented Aug 10, 2018

@DenisCarriere let me know once you verify.

@DenisCarriere
Copy link
Contributor

@heifner 👍 Works!

@heifner heifner merged commit 9a40732 into develop Aug 10, 2018
@heifner heifner deleted the gh#5066-filer-on-fix branch August 10, 2018 22:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants