tap-mongodb
tap-mongodb copied to clipboard
If a user has multiple roles that are able to find databases then the…
… database was returned in the list multiple times.
This patch removes duplicates instances of the data base from the list of discovered databases.
Description of change
remove duplicates from list of db names.
db_names = list(set(db_names))
# QA steps
- [ ] automated tests passing
- [ X] manual qa steps passing (list below)
Ran locally to verify that the catalog only contained a single entry for the stream.
# Risks
# Rollback steps
- revert this branch
Hi @nathan5280, thanks for your contribution!
In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.
You did it @nathan5280!
Thank you for signing the Singer Contribution License Agreement.