Skip to content

Commit

Permalink
Merge pull request #1132 from kapishmalik/fix-missing-makezero-in-slice
Browse files Browse the repository at this point in the history
Fix missing makezero in slice
  • Loading branch information
kapishmalik authored May 28, 2024
2 parents ae27008 + f312be4 commit 1db4e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/templating/templating.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (t *Templator) NewTemplatingData(requestDetails *models.RequestDetails, lit
templateJournal := Journal{}
if journal != nil {

indexes := make([]JournalIndex, len(journal.Indexes))
indexes := make([]JournalIndex, 0, len(journal.Indexes))
for _, index := range journal.Indexes {

journalIndexEntries := make(map[string]JournalEntry)
Expand Down

0 comments on commit 1db4e4e

Please sign in to comment.