To maintain consistent results between health validate-counts and validate-contents, this pull request (PR) updates the 'has_password' to null in the query args, in the query_db function, which is called by the validate-counts. This modification will result in all posts being retrieved by default for the validate-counts, aligning its behavior with the validate-contents.
Checklist
Please make sure the items below have been covered before requesting a review:
[ ] This change works and has been tested locally (or has an appropriate fallback).
[ ] This change works and has been tested on a Go sandbox.
[ ] This change has relevant unit tests (if applicable).
[ ] This change has relevant documentation additions / updates (if applicable).
[ ] This change has the fix PRed upstream (if applicable). If not applicable, it has the relevant "// VIP: reason for the discrepancy with upstream" comment in places where the code is discrepant.
Description
To maintain consistent results between health validate-counts and validate-contents, this pull request (PR) updates the 'has_password' to null in the query args, in the query_db function, which is called by the validate-counts. This modification will result in all posts being retrieved by default for the validate-counts, aligning its behavior with the validate-contents.
Checklist
Please make sure the items below have been covered before requesting a review:
Steps to Test