mirror of
https://github.com/restic/restic.git
synced 2025-08-13 13:01:59 +00:00
stat: Improve error message for bad snapshot ID (fixes #1933)
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
// ErrNoIDPrefixFound is returned by Find() when no ID for the given prefix
|
||||
// could be found.
|
||||
var ErrNoIDPrefixFound = errors.New("no ID found")
|
||||
var ErrNoIDPrefixFound = errors.New("no matching ID found")
|
||||
|
||||
// ErrMultipleIDMatches is returned by Find() when multiple IDs with the given
|
||||
// prefix are found.
|
||||
|
Reference in New Issue
Block a user