summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorJulien Dessaux2024-09-25 23:57:23 +0200
committerJulien Dessaux2024-09-25 23:57:23 +0200
commitb8b6bf80f13df57bb8fce8d9d8d9a37411cc19c5 (patch)
tree66668afb1672715f2f75da66d9415d32b9a6dd17 /stdlib
parentfix(gonf): fixed gonf -help fd output and return code to not error (diff)
downloadgonf-b8b6bf80f13df57bb8fce8d9d8d9a37411cc19c5.tar.gz
gonf-b8b6bf80f13df57bb8fce8d9d8d9a37411cc19c5.tar.bz2
gonf-b8b6bf80f13df57bb8fce8d9d8d9a37411cc19c5.zip
fix(stdlib): fixed borg name used for the pruning call in the template scriptHEADmaster
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/backups/borg/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/backups/borg/client.go b/stdlib/backups/borg/client.go
index b0c8292..1989303 100644
--- a/stdlib/backups/borg/client.go
+++ b/stdlib/backups/borg/client.go
@@ -81,7 +81,7 @@ func (b *BorgClient) Resolve() {
hostname,
name,
job.path,
- job.hostname, name)).
+ hostname, name)).
Resolve()
service_name := fmt.Sprintf("borgbackup-job-%s.service", name)
gonf.File(filepath.Join(systemdSystemPath, service_name)).