From 25cba977cebbfe6fac2d72fa05655e2777091dc8 Mon Sep 17 00:00:00 2001 From: Deepanshu Bhatia Date: Mon, 12 Jun 2023 10:17:40 +0530 Subject: [PATCH] EIR-212: Add test sla association primary key --- pre_commit_hooks/notify_duplicate_entry.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pre_commit_hooks/notify_duplicate_entry.py b/pre_commit_hooks/notify_duplicate_entry.py index 7f277f4..ebacf86 100644 --- a/pre_commit_hooks/notify_duplicate_entry.py +++ b/pre_commit_hooks/notify_duplicate_entry.py @@ -50,6 +50,10 @@ def main(argv: Optional[Sequence[str]] = None) -> int: 'user_tokens': ['user_token'], 'workflow_task': ['workflow_id'], 'context': ['uuid'], + 'test_sla_association': ['test_case', 'sla'], + 'teams_association': ['user_uuid', 'team_uuid'], + 'teams_resource_permission': ['team_uuid', 'resource_name'], + 'label': ['uuid'], } args = vars(parser.parse_args(argv))