]> git.lizzy.rs Git - mtmap.git/commitdiff
Put string into double quotes v0.2.2
authorElias Fleckenstein <eliasfleckenstein@web.de>
Sat, 16 Jul 2022 19:46:48 +0000 (21:46 +0200)
committerElias Fleckenstein <eliasfleckenstein@web.de>
Sat, 16 Jul 2022 19:46:48 +0000 (21:46 +0200)
deserialize.go

index 7e3ffb68c5a9d2e9e007e9b7070666588db69596..90af77c5cc91d0ed0aedbd365c73973b4349758c 100644 (file)
@@ -23,7 +23,7 @@ type ErrInvalidNodeName struct {
 }
 
 func (e ErrInvalidNodeName) Error() string {
-       return fmt.Sprintf("invalid node %v", e.Name)
+       return fmt.Sprintf("invalid node \"%v\"", e.Name)
 }
 
 type ErrInvalidNodeId struct {