calm-dsl icon indicating copy to clipboard operation
calm-dsl copied to clipboard

CalmVariable doesn't honour the attribute name

Open pipoe2h opened this issue 2 years ago • 0 comments

Blueprint is getting compiled with the Python variable name and not the CalmVariable attribute name. An example:

    docker_install = CalmVariable.WithOptions.Predefined.string(
        options=["True", "False"],
        default="True",
        name="DOCKER_INSTALL",
        label="Enable Docker",
        is_mandatory=True,
        description="Enabling Docker lets you easily install containerized applications.")

In this case, the variable in the blueprint once compiled shows as lowercase instead of uppercase like in the attribute name.

pipoe2h avatar Mar 03 '22 07:03 pipoe2h