2
2
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:
Michael Eischer 2024-11-01 16:36:23 +01:00
parent 3eb9556f6a
commit 41fa41b28b

View File

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