Skip to content

Commit

Permalink
fix: use local variable for workspaceId in stash backup (#2706)
Browse files Browse the repository at this point in the history
  • Loading branch information
BonapartePC authored and atzoum committed Nov 16, 2022
1 parent d01f98b commit b3a5fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/stash/stash.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func (st *HandleT) storeErrorsToObjectStorage(jobs []*jobsdb.JobT) (errorJob []E
prefixes := []string{"rudder-proc-err-logs", time.Now().Format("01-02-2006")}
uploadOutput, err := errFileUploader.Upload(context.TODO(), outputFile, prefixes...)
errorJobs = append(errorJobs, ErrorJob{
jobs: jobsPerWorkspace[workspaceID],
jobs: jobsPerWorkspace[wrkId],
errorOutput: StoreErrorOutputT{
Location: uploadOutput.Location,
Error: err,
Expand Down

0 comments on commit b3a5fc1

Please sign in to comment.