guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/06: services: zabbix-front-end: Tweak error and hint messages.


From: guix-commits
Subject: 06/06: services: zabbix-front-end: Tweak error and hint messages.
Date: Wed, 19 Dec 2018 18:09:46 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 9012d226fa46229a84e49a42c9b6d287105dfddf
Author: Ludovic Courtès <address@hidden>
Date:   Thu Dec 20 00:04:50 2018 +0100

    services: zabbix-front-end: Tweak error and hint messages.
    
    * gnu/services/monitoring.scm (zabbix-front-end-config): Adjust error
    and hint mssages.
---
 gnu/services/monitoring.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm
index 4c7a717..685641f 100644
--- a/gnu/services/monitoring.scm
+++ b/gnu/services/monitoring.scm
@@ -530,15 +530,14 @@ $DB['PASSWORD'] = '" (if (string-null? db-password)
                              (raise (condition
                                      (&message
                                       (message "\
-You must provide either 'db-secret-file' or 'db-password'."))))
+you must provide either 'db-secret-file' or 'db-password'"))))
                              (string-trim-both
                               (with-input-from-file db-secret-file
                                 read-string)))
                          (begin
-                           (display-hint "
-Consider use `db-secret-file' instead of `db-password' and unset
-`db-password' for security in `zabbix-front-end-configuration'.
-")
+                           (display-hint "\
+Consider using @code{db-secret-file} instead of @code{db-password} and unset
address@hidden for security in @code{zabbix-front-end-configuration}.")
                            db-password)) "';
 
 // Schema name. Used for IBM DB2 and PostgreSQL.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]