Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CalmVariable doesn't honour the attribute name #217

Open
pipoe2h opened this issue Mar 3, 2022 · 0 comments
Open

CalmVariable doesn't honour the attribute name #217

pipoe2h opened this issue Mar 3, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@pipoe2h
Copy link

pipoe2h commented Mar 3, 2022

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.

@abhijeetkaurav1st abhijeetkaurav1st added the bug Something isn't working label Mar 28, 2022
abhijeetkaurav1st pushed a commit that referenced this issue Aug 22, 2023
…on (#217)

(cherry picked from commit 9fe3f7eae825c799a5396d5dd9f0682ef062f924)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants