diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-06-18 22:59:22 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-06-24 23:18:21 +0200 |
commit | 6505f727e1824391b888dd0c2c60cf64ec66955a (patch) | |
tree | 2d50287588569b6d7bfe55616ac13dcc1ef90ca8 /gnu/services/mail.scm | |
parent | fb7e6ccba7cc243cd96cdc3fde3daa9a5f08e531 (diff) | |
download | guix-6505f727e1824391b888dd0c2c60cf64ec66955a.tar.gz |
services: configuration: Remove 'validate-configuration'.
Now that configuration records use the 'sanitize' property for each field, 'validate-configuration' has become useless because it's impossible to construct an invalid configuration record. * gnu/services/configuration.scm (validate-configuration): Remove. * gnu/services/mail.scm (dovecot-service): Remove call. * gnu/services/vpn.scm (openvpn-client-service) (openvpn-server-service): Likewise. * doc/guix.texi (Complex Configurations): Remove documentation.
Diffstat (limited to 'gnu/services/mail.scm')
-rw-r--r-- | gnu/services/mail.scm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm index c2fd4d8670..10e6523861 100644 --- a/gnu/services/mail.scm +++ b/gnu/services/mail.scm @@ -1610,10 +1610,6 @@ POP3, IMAP, and LMTP. @var{config} should be a configuration object created by @code{dovecot-configuration}. @var{config} may also be created by @code{opaque-dovecot-configuration}, which allows specification of the @code{dovecot.conf} as a string." - (validate-configuration config - (if (opaque-dovecot-configuration? config) - opaque-dovecot-configuration-fields - dovecot-configuration-fields)) (service dovecot-service-type config)) ;; A little helper to make it easier to document all those fields. |