diff --git a/internal/restic/tree.go b/internal/restic/tree.go index c4125653b..f406b489f 100644 --- a/internal/restic/tree.go +++ b/internal/restic/tree.go @@ -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(',')