Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
defbin committed Mar 19, 2024
1 parent 572ad46 commit 97bc927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pbm/backup/physical.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ func (b *Backup) handleExternal(
stg storage.Storage,
l log.LogEvent,
) error {
filelist := make(Filelist, len(data)+len(jrnls)+1) // +1 for metadata
filelist := make(Filelist, 0, len(data)+len(jrnls)+1) // +1 for metadata
for _, f := range append(data, jrnls...) {
f.Name = path.Clean("./" + strings.TrimPrefix(f.Name, dbpath))
filelist = append(filelist, f)
Expand Down

0 comments on commit 97bc927

Please sign in to comment.