IcingaObject: be strict on relations

This commit is contained in:
Thomas Gelf 2016-06-16 22:16:55 +02:00
parent 57656f8dd9
commit 5c0ea2c3b0

View File

@ -1531,6 +1531,8 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
}
$k = $relKey;
} else {
throw new ProgrammingError('No such relation: %s', $relKey);
}
}
}