nutanix / calm-dsl

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

Decompile for Call_Runbook Task is not working #125

Closed abhijeetkaurav1st closed 4 years ago

abhijeetkaurav1st commented 4 years ago

Case: Calling service action from inside service action blows out on decompile by stating some runbook is missing from context. Ex:

    """Sample mysql service"""

    ENV = CalmVariable.Simple("DEV")

    @action
    def __create__():
        MySQLService.__restart__(name="TaskRunbbok")

    @action
    def __restart__():
        pass