nutanix / calm-dsl

Keep Calm and DSL On!
https://nutanix.github.io/calm-dsl/
Apache License 2.0
33 stars 51 forks source link

[Bug] App Profile macro name attribute not working #290

Open pipoe2h opened 8 months ago

pipoe2h commented 8 months ago

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