Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit 257b202

Browse files
0ssigenoMichalsus
authored andcommitted
Fix
Signed-off-by: 0ssigeno <[email protected]>
1 parent 4c92f79 commit 257b202

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api_app/pivots_manager/pivots/self_analyzable.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ def should_run(self) -> Tuple[bool, Optional[str]]:
1919
# the configs that the playbook execute that could match
2020
playbook_configs = set(
2121
related_config_class.objects.filter(
22-
playbooks=self._config.playbooks_choice
22+
playbooks=self._config.playbooks_choice.all().values_list(
23+
"pk", flat=True
24+
)
2325
).values_list("pk", flat=True)
2426
)
2527
if related_configs_pk.issubset(playbook_configs):

0 commit comments

Comments
 (0)