Quote snapshot prefix in error string

This commit is contained in:
Juergen Hoetzel committed 2021-08-25 16:11:28 +02:00
1 parent 409e4936af
commit defe19fdf6
1 file changed
+1 -1
+1 -1
View File
@@ -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