From a107e3cc84aa4c0d72f252490214861999e30d75 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Fri, 19 Aug 2016 20:36:24 +0200 Subject: [PATCH] Correct comment --- src/restic/snapshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/restic/snapshot.go b/src/restic/snapshot.go index 9c95e84cf..4a8339d44 100644 --- a/src/restic/snapshot.go +++ b/src/restic/snapshot.go @@ -125,7 +125,7 @@ func SamePaths(expected, actual []string) bool { return true } -// Error when no snapshot is found for the given criteria +// ErrNoSnapshotFound is returned when no snapshot for the given criteria could be found. var ErrNoSnapshotFound = errors.New("no snapshot found") // FindLatestSnapshot finds latest snapshot with optional target/directory and source filters