mirror of
https://github.com/Icinga/icinga2.git
synced 2026-04-22 14:47:07 -04:00
Add missing default import AST node for the application object
refs #12575
This commit is contained in:
parent
4876a78ab5
commit
69bb90403d
1 changed files with 1 additions and 0 deletions
|
|
@ -149,6 +149,7 @@ bool DaemonUtility::ValidateConfigFiles(const std::vector<std::string>& configs,
|
|||
ConfigItemBuilder::Ptr builder = new ConfigItemBuilder();
|
||||
builder->SetType(appType);
|
||||
builder->SetName("app");
|
||||
builder->AddExpression(new ImportDefaultTemplatesExpression());
|
||||
ConfigItem::Ptr item = builder->Compile();
|
||||
item->Register();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue