Details
-
Type:
Bug
-
Status: Done
-
Priority:
Higher
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Promise type: vars
-
Labels:None
-
Story Points:3
Description
Example says it all:
body file control { namespace => "my_ns"; } bundle agent def { vars: "my_var" string => "value"; } bundle agent __main__ { reports: "def.my_var: $(def.my_var)"; }
$ cf-agent/cf-agent -Kf /tmp/test.cf lt-cf-promises: eval_context.c:2089: GetVariableTableForScope: Assertion `!ns || strcmp("default", ns) == 0' failed. lt-cf-agent: eval_context.c:2089: GetVariableTableForScope: Assertion `!ns || strcmp("default", ns) == 0' failed. Aborted (core dumped)