[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: services: cups: Rename ‘retry-this-job’ to ‘retry-current-job’.
From: |
guix-commits |
Subject: |
01/02: services: cups: Rename ‘retry-this-job’ to ‘retry-current-job’. |
Date: |
Fri, 30 Aug 2019 21:25:10 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 5a097cdd5446587511dbee049ad706366c74e5ad
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sat Aug 31 03:23:16 2019 +0200
services: cups: Rename ‘retry-this-job’ to ‘retry-current-job’.
* gnu/services/cups.scm (error-policy, cups-configuration): Substitute
RETRY-CURRENT-JOB for the obsolete RETRY-THIS-JOB name of this policy.
* doc/guix.texi (Printing Services): Likewise.
---
doc/guix.texi | 2 +-
gnu/services/cups.scm | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 8469aad..54c7ea7 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -14347,7 +14347,7 @@ Defaults to @samp{30}.
Specifies what to do when an error occurs. Possible values are
@code{abort-job}, which will discard the failed print job;
@code{retry-job}, which will retry the job at a later time;
-@code{retry-this-job}, which retries the failed job immediately; and
+@code{retry-current-job}, which retries the failed job immediately; and
@code{stop-printer}, which stops the printer.
Defaults to @samp{stop-printer}.
diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm
index 2105df6..c3c6d2f 100644
--- a/gnu/services/cups.scm
+++ b/gnu/services/cups.scm
@@ -139,7 +139,7 @@
(define-enumerated-field-type default-encryption
(Never IfRequested Required))
(define-enumerated-field-type error-policy
- (abort-job retry-job retry-this-job stop-printer))
+ (abort-job retry-job retry-current-job stop-printer))
(define-enumerated-field-type log-level
(none emerg alert crit error warn notice info debug debug2))
(define-enumerated-field-type log-time-format
@@ -554,7 +554,7 @@ typically within a few milliseconds.")
(error-policy 'stop-printer)
"Specifies what to do when an error occurs. Possible values are
@code{abort-job}, which will discard the failed print job; @code{retry-job},
-which will retry the job at a later time; @code{retry-this-job}, which retries
+which will retry the job at a later time; @code{retry-current-job}, which
retries
the failed job immediately; and @code{stop-printer}, which stops the
printer.")
(filter-limit