mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-22 08:23:50 +01:00
autosnap: fix pathname
This commit is contained in:
parent
e048386cd5
commit
fee2071514
@ -68,7 +68,7 @@ func doAutosnap(ctx AutosnapContext, log Logger) (err error) {
|
|||||||
hadError := false
|
hadError := false
|
||||||
|
|
||||||
for _, fs := range filesystems { // optimization: use recursive snapshots / channel programs here
|
for _, fs := range filesystems { // optimization: use recursive snapshots / channel programs here
|
||||||
log.Printf("snapshotting filesystem %s@%s", fs, snapname)
|
log.Printf("snapshotting filesystem %s@%s", fs.ToString(), snapname)
|
||||||
err := zfs.ZFSSnapshot(fs, snapname, false)
|
err := zfs.ZFSSnapshot(fs, snapname, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("error snapshotting %s: %s", fs, err)
|
log.Printf("error snapshotting %s: %s", fs, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user