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

[Bug] App Profile macro name attribute not working

Open pipoe2h opened this issue 1 year ago • 0 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

pipoe2h avatar Feb 24 '24 22:02 pipoe2h