Skip to content

Commit

Permalink
chore(river): initialise errors map
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbes committed Oct 29, 2024
1 parent c196577 commit 01e5d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/service/core/storage/river/river_workstations.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func fromRiverJob(job *rivertype.JobRow) (*service.WorkstationJob, error) {
state = service.WorkstationJobStateFailed
}

var allErrs map[string]struct{}
allErrs := map[string]struct{}{}

for _, e := range job.Errors {
allErrs[e.Error] = struct{}{}
Expand Down

0 comments on commit 01e5d9e

Please sign in to comment.