diff --git a/performance/index-cardinality-detection/detect-cardinality.py b/performance/index-cardinality-detection/detect-cardinality.py index 12349fb..da92766 100644 --- a/performance/index-cardinality-detection/detect-cardinality.py +++ b/performance/index-cardinality-detection/detect-cardinality.py @@ -178,7 +178,7 @@ def start_cardinality_check(): if args.collections != "All": coll_names = args.collections.split(",") for coll_name in coll_names[:max_collections]: - if coll_name not in ("oplog.rs"): + if coll_name in ("oplog.rs"): continue print("### Starting cardinality check for collection - {} .... ".format(coll_name))