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

View file

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