nutanix / calm-dsl

Keep Calm and DSL On!

Home Page:https://nutanix.github.io/calm-dsl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] App Profile macro name attribute not working

pipoe2h opened this issue · comments

Describe the bug
When creating an application profile macro, the name of the macro doesn't honor the value for the attribute name=. The name used is the one internal to Python.

class Nutanix(Profile):

    deployments = [Operator_Deployment,ControlPlane_Deployment,Node_Deployment]

    _DOMAIN = CalmVariable.Simple.string(
        "example.local",
        name="DOMAIN",
        label="AD domain",
        is_hidden=True,
    )
image