Skip to content

Default value for an not defined ENV #1220

@pepebotika69

Description

@pepebotika69

Is there a way to define a default value if ENV variable is not defined? For example:

numprocesses = $(circus.env.WORKERS_NUMBER)

So if WORKERS_NUMBER is not defined I will get an error. I would like to do this:
"If WORKERS_NUMBER is not defined the numprocesses should be equal to 3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions