forked from TrueCloudLab/restic
Quote snapshot prefix in error string
This commit is contained in:
parent
409e4936af
commit
defe19fdf6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue