Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
afourmy committed Dec 6, 2019
1 parent f7049fe commit 8f70c72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/base/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ Version 3.18

- Fix start/end deletion issue + display
- Fix tree bug with shared service in different subworkflows not properly displayed

- Run Only Once services show no longer displays ( 0 failed / 0 passed).
- Fix services displayed as red when successful
- Fix service order in the workflow

Version 3.17.2
--------------
Expand Down
2 changes: 1 addition & 1 deletion eNMS/controller/automation.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def rec(service):
}
if service.type == "workflow":
children = sorted(
(c for child in service.services if (c := rec(child))),
filter(None, (rec(child) for child in service.services)),
key=itemgetter("runtime"),
)
return {"children": children, "type": "workflow", **result}
Expand Down

0 comments on commit 8f70c72

Please sign in to comment.