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.
This commit is contained in:
Tobias Geerinckx-Rice 2019-08-31 03:23:16 +02:00
parent 1ec29dff3a
commit 5a097cdd54
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79
2 changed files with 3 additions and 3 deletions

View file

@ -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}.

View file

@ -139,7 +139,7 @@ (define-enumerated-field-type default-auth-type
(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 @@ (define-configuration cups-configuration
(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