mirror of
https://github.com/restic/restic.git
synced 2025-03-13 19:00:51 +00:00
Quote snapshot prefix in error string
This commit is contained in:
parent
409e4936af
commit
defe19fdf6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user