Mistral allows creating workflows with spaces in name but could not work with it
Bug #1848037 reported by
Artem Lapin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
High
|
Artem Lapin |
Bug Description
We can create workflows definition with spaces in name, for example:
version: '2.0'
wf1:
tasks:
t1:
workflow: name with spaces
name with spaces:
tasks:
t2:
action: std.noop
But if we try to execute workflow "wf1" we get error, because Mistral tries to find subworkflow "name" instead of "name wit spaces", because Mistral defines "with spaces" as parameters for subworkflow "name". I propose prohibit the creation of workflow with spaces in the name.
Changed in mistral: | |
milestone: | none → ussuri-1 |
importance: | Undecided → High |
Changed in mistral: | |
assignee: | nobody → Artem Lapin (rimger) |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/688876
Review: https:/