mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Bugfix: %require didn't work if parent type had a validator for the same attribute.
This commit is contained in:
parent
671eb0110f
commit
07b50ecce8
@ -147,9 +147,12 @@ void ConfigType::ValidateDictionary(const Dictionary::Ptr& dictionary,
|
||||
if (subRuleList)
|
||||
subRuleLists.push_back(subRuleList);
|
||||
|
||||
if (overallResult == ValidationOK)
|
||||
continue;
|
||||
|
||||
if (result == ValidationOK) {
|
||||
overallResult = result;
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (result == ValidationInvalidType)
|
||||
|
Loading…
x
Reference in New Issue
Block a user