mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 08:34:20 +02:00
parent
54063f0b9f
commit
8ab39194f1
@ -180,7 +180,7 @@ void ConfigType::ValidateDictionary(const Dictionary::Ptr& dictionary,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (overallResult == ValidationUnknownField)
|
if (overallResult == ValidationUnknownField)
|
||||||
ConfigCompilerContext::GetInstance()->AddMessage(false, "Unknown attribute: " + LocationToString(locations));
|
ConfigCompilerContext::GetInstance()->AddMessage(true, "Unknown attribute: " + LocationToString(locations));
|
||||||
else if (overallResult == ValidationInvalidType) {
|
else if (overallResult == ValidationInvalidType) {
|
||||||
String message = "Invalid value for attribute: " + LocationToString(locations);
|
String message = "Invalid value for attribute: " + LocationToString(locations);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user