forked from TrueCloudLab/restic
Merge pull request #5142 from MichaelEischer/fix-not-ordered-error-message
restic: add missing space in error message
This commit is contained in:
commit
a5c49e5340
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ func NewTreeJSONBuilder() *TreeJSONBuilder {
|
|||
|
||||
func (builder *TreeJSONBuilder) AddNode(node *Node) error {
|
||||
if node.Name <= builder.lastName {
|
||||
return fmt.Errorf("node %q, last%q: %w", node.Name, builder.lastName, ErrTreeNotOrdered)
|
||||
return fmt.Errorf("node %q, last %q: %w", node.Name, builder.lastName, ErrTreeNotOrdered)
|
||||
}
|
||||
if builder.lastName != "" {
|
||||
_ = builder.buf.WriteByte(',')
|
||||
|
|
Loading…
Reference in a new issue