Skip to content

Doc innacuracy #429

@rbeuque74

Description

@rbeuque74

Describe the bug
Documentation here: https://github.com/ovh/utask#steps indicates

Several conditions can be specified, the first one to evaluate as true is applied. A condition is composed of:

It's actually not true.
All the conditions are evaluated, regarding if one prior was true

We actually have unit test that validates this behavior

assert.Equal(t, step.StateToRetry, res.Steps["stepOne"].State)

https://github.com/ovh/utask/blob/master/engine/templates_tests/stepCondition.yaml#L13-L27

We need to patch the documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions