blueprints: fix duplicate tasks

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-08-23 19:14:30 +02:00
parent 649835cc61
commit 1419910b29
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ def check_blueprint_v1_file(blueprint: BlueprintFile):
) )
instance.save() instance.save()
if instance.last_applied_hash != blueprint.hash: if instance.last_applied_hash != blueprint.hash:
apply_blueprint.delay(instance.pk.hex) apply_blueprint.delay(str(instance.pk))
@CELERY_APP.task( @CELERY_APP.task(