config: Update validators.

This commit is contained in:
Gunnar Beutner 2013-09-25 08:52:44 +02:00
parent a401d871eb
commit 83ca372fa8
3 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ type ClusterComponent {
%attribute string "bind_port", %attribute string "bind_port",
%attribute array "peers" { %attribute array "peers" {
%attribute string "*" %attribute name(Endpoint) "*"
} }
} }
@ -41,6 +41,6 @@ type Endpoint {
}, },
%attribute array "accept_config" { %attribute array "accept_config" {
%attribute string "*" %attribute name(Endpoint) "*"
} }
} }

View File

@ -29,7 +29,7 @@ type ExternalCommandListener {
type CompatLog { type CompatLog {
%validator "ValidateRotationMethod", %validator "ValidateRotationMethod",
%attribute string "path_prefix", %attribute string "log_dir",
%attribute string "rotation_method" %attribute string "rotation_method"
} }

View File

@ -31,7 +31,7 @@ type DynamicObject {
}, },
%attribute array "authorities" { %attribute array "authorities" {
%attribute string "*" %attribute name(Endpoint) "*"
}, },
%attribute array "domains" { %attribute array "domains" {