borgbackup: drop comment from string
checks / check-links (pull_request) Successful in 22s Details
checks / checks-impure (pull_request) Successful in 2m8s Details
checks / checks (pull_request) Successful in 2m29s Details

Looks weird in the logs.
This commit is contained in:
Jörg Thalheim 2024-02-22 15:42:19 +01:00
parent 12ce8238f1
commit 7208d63e78
1 changed files with 3 additions and 4 deletions

View File

@ -73,10 +73,9 @@ in
clanCore.backups.providers.borgbackup = {
# TODO list needs to run locally or on the remote machine
list = ''
${lib.concatMapStringsSep "\n" (dest: ''
# we need yes here to skip the changed url verification
yes y | borg-job-${dest.name} list --json | jq -r '. + {"job-name": "${dest.name}"}'
'') (lib.attrValues cfg.destinations)}
# we need yes here to skip the changed url verification
${lib.concatMapStringsSep "\n" (dest: ''yes y | borg-job-${dest.name} list --json | jq -r '. + {"job-name": "${dest.name}"}' '')
(lib.attrValues cfg.destinations)}
'';
create = ''
${lib.concatMapStringsSep "\n" (dest: ''