mirror of https://github.com/Icinga/icinga2.git
Add missing default import AST node for the application object
refs #12575
This commit is contained in:
parent
4876a78ab5
commit
69bb90403d
|
@ -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 New Issue