Island: Don't drop collections that starts with "config"

Fixes #2210
PR #2227
This commit is contained in:
Ilija Lazoroski 2022-08-29 17:46:03 +02:00 committed by Mike Salvatore
parent 4af38f6e8a
commit 6adacf702e
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class Database(object):
return (
not collection.startswith("system.")
and not collection == AttackMitigations.COLLECTION_NAME
and not collection.startswith("config")
)
@staticmethod