Skip to content

Commit

Permalink
fix superworkflow result progress not displayed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
afourmy committed Sep 29, 2022
1 parent 863962b commit 5ec974f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eNMS/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,7 @@ def run(service, **kwargs):
restart_run = db.fetch("run", allow_none=True, runtime=restart_runtime)
if service.type == "workflow" and service.superworkflow and not restart_run:
run_kwargs["placeholder"] = run_kwargs["start_service"] = service.id
run_kwargs["path"] = str(service.superworkflow.id)
service = service.superworkflow
initial_payload.update(service.initial_payload)
else:
Expand Down

0 comments on commit 5ec974f

Please sign in to comment.