From a3d99217a4b54240bfa8ab1aa49a30a06aede0ae Mon Sep 17 00:00:00 2001 From: Jim Tittsler Date: Sun, 6 Mar 2022 11:31:07 +0900 Subject: [PATCH] Remove period from find messages Simplifies cut-and-paste of IDs (and makes stylistically consistent with other messages) #3659 --- cmd/restic/cmd_find.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/restic/cmd_find.go b/cmd/restic/cmd_find.go index b46b8644b..033915ab0 100644 --- a/cmd/restic/cmd_find.go +++ b/cmd/restic/cmd_find.go @@ -267,7 +267,7 @@ func (f *Finder) findInSnapshot(ctx context.Context, sn *restic.Snapshot) error if err != nil { debug.Log("Error loading tree %v: %v", parentTreeID, err) - Printf("Unable to load tree %s\n ... which belongs to snapshot %s.\n", parentTreeID, sn.ID()) + Printf("Unable to load tree %s\n ... which belongs to snapshot %s\n", parentTreeID, sn.ID()) return false, walker.ErrSkipNode } @@ -351,7 +351,7 @@ func (f *Finder) findIDs(ctx context.Context, sn *restic.Snapshot) error { if err != nil { debug.Log("Error loading tree %v: %v", parentTreeID, err) - Printf("Unable to load tree %s\n ... which belongs to snapshot %s.\n", parentTreeID, sn.ID()) + Printf("Unable to load tree %s\n ... which belongs to snapshot %s\n", parentTreeID, sn.ID()) return false, walker.ErrSkipNode }