mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
services: ntp-service-type: Remove deprecated server as strings support.
* gnu/services/networking.scm (<ntp-configuration>)[servers]: Rename accessor to ntp-configuration-servers. (ntp-configuration-servers): Remove helper procedure. (ntp-shepherd-service): Remove helper procedure usage. * tests/networking.scm: Remove obsolete test. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
0425c91a92
commit
b92880d011
2 changed files with 21 additions and 49 deletions
|
@ -43,17 +43,6 @@
|
|||
"server some.ntp.server.org iburst version 3 maxpoll 16 prefer"
|
||||
(ntp-server->string %ntp-server-sample))
|
||||
|
||||
(test-equal "ntp configuration servers deprecated form"
|
||||
(ntp-configuration-servers
|
||||
(ntp-configuration
|
||||
(servers (list "example.pool.ntp.org"))))
|
||||
(ntp-configuration-servers
|
||||
(ntp-configuration
|
||||
(servers (list (ntp-server
|
||||
(type 'server)
|
||||
(address "example.pool.ntp.org")
|
||||
(options '())))))))
|
||||
|
||||
|
||||
;;;
|
||||
;;; OpenNTPD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue