From 83ca372fa8c80eae54e891d24672a7fa3b41e2c5 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 25 Sep 2013 08:52:44 +0200 Subject: [PATCH] config: Update validators. --- components/cluster/cluster-type.conf | 4 ++-- components/compat/compat-type.conf | 2 +- lib/config/base-type.conf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/cluster/cluster-type.conf b/components/cluster/cluster-type.conf index 7ef83b90b..f97572a0d 100644 --- a/components/cluster/cluster-type.conf +++ b/components/cluster/cluster-type.conf @@ -28,7 +28,7 @@ type ClusterComponent { %attribute string "bind_port", %attribute array "peers" { - %attribute string "*" + %attribute name(Endpoint) "*" } } @@ -41,6 +41,6 @@ type Endpoint { }, %attribute array "accept_config" { - %attribute string "*" + %attribute name(Endpoint) "*" } } diff --git a/components/compat/compat-type.conf b/components/compat/compat-type.conf index 3ee0ff77a..7a9ba1605 100644 --- a/components/compat/compat-type.conf +++ b/components/compat/compat-type.conf @@ -29,7 +29,7 @@ type ExternalCommandListener { type CompatLog { %validator "ValidateRotationMethod", - %attribute string "path_prefix", + %attribute string "log_dir", %attribute string "rotation_method" } diff --git a/lib/config/base-type.conf b/lib/config/base-type.conf index 28f090541..fb6001bc9 100644 --- a/lib/config/base-type.conf +++ b/lib/config/base-type.conf @@ -31,7 +31,7 @@ type DynamicObject { }, %attribute array "authorities" { - %attribute string "*" + %attribute name(Endpoint) "*" }, %attribute array "domains" { -- 2.40.0