Subject: Re: [bug#33836] [PATCH] services: zabbix-front-end: Show location in messages.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 26 Dec 2018 18:31:33 +0100

Oleg Pykhalov <[email-masked]> skribis:

> * gnu/services/monitoring.scm (zabbix-front-end-config): Show location in
> messages.

[...]

>  (define zabbix-front-end-config
>    (match-lambda
>      (($ <zabbix-front-end-configuration>
> -        _ db-host db-port db-name db-user db-password db-secret-file
> +        location _ db-host db-port db-name db-user db-password db-secret-file
>          zabbix-host zabbix-port)

Could you instead use ‘match-record’ here?  That way you could avoid
maching the ‘location’ field altogether.

Are there other users of ‘define-configuration’ that match raw records?

Thanks,
Ludo’.