stat: Improve error message for bad snapshot ID (fixes #1933)

This commit is contained in:
Matthew Holt committed 2018-08-08 16:49:36 -06:00
1 parent beb208e159
commit 6f5b0f3622
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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.