mirror of
https://github.com/restic/restic.git
synced 2026-10-15 06:17:11 +00:00
Quote snapshot prefix in error string
This commit is contained in:
1 parent
409e4936af
commit
defe19fdf6
1 file changed
+1
-1
@@ -10,7 +10,7 @@ import (
|
||||
type MultipleIDMatchesError struct{ prefix string }
|
||||
|
||||
func (e *MultipleIDMatchesError) Error() string {
|
||||
return fmt.Sprintf("multiple IDs with prefix %s found", e.prefix)
|
||||
return fmt.Sprintf("multiple IDs with prefix %q found", e.prefix)
|
||||
}
|
||||
|
||||
// A NoIDByPrefixError is returned by Find() when no ID for a given prefix
|
||||
|
||||
Reference in new issue
Block a user