Merge pull request #387 from matthiasbeyer/libimagstore/config-check-fix

Remove old check from config validation
This commit is contained in:
Matthias Beyer 2016-05-09 18:57:45 +02:00
commit 1564ee397b

View file

@ -120,8 +120,6 @@ pub fn config_is_valid(config: &Option<Value>) -> bool {
match config { match config {
&Some(Value::Table(ref t)) => { &Some(Value::Table(ref t)) => {
has_key_with_string_ary(t, "pre-read-hook-aspects") &&
has_key_with_string_ary(t, "post-read-hook-aspects") &&
has_key_with_string_ary(t, "pre-create-hook-aspects") && has_key_with_string_ary(t, "pre-create-hook-aspects") &&
has_key_with_string_ary(t, "post-create-hook-aspects") && has_key_with_string_ary(t, "post-create-hook-aspects") &&
has_key_with_string_ary(t, "pre-retrieve-hook-aspects") && has_key_with_string_ary(t, "pre-retrieve-hook-aspects") &&