mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 06:46:34 +00:00
fix double printf usage
This commit is contained in:
parent
3eb9556f6a
commit
41fa41b28b
@ -2,7 +2,6 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
@ -141,7 +140,7 @@ func rewriteSnapshot(ctx context.Context, repo *repository.Repository, sn *resti
|
|||||||
if selectByName(path) {
|
if selectByName(path) {
|
||||||
return node
|
return node
|
||||||
}
|
}
|
||||||
Verbosef(fmt.Sprintf("excluding %s\n", path))
|
Verbosef("excluding %s\n", path)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user