Skip to content

Commit

Permalink
Use workflowID instead of workerID in getWorkflowData
Browse files Browse the repository at this point in the history
  • Loading branch information
detiber committed Apr 6, 2022
1 parent d3512cb commit 838a8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tink-worker/worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ func (w *Worker) getWorkflowData(ctx context.Context, workflowID string) {
}

if len(res.GetData()) != 0 {
wfDir := filepath.Join(w.dataDir, w.workerID)
wfDir := filepath.Join(w.dataDir, workflowID)
f := openDataFile(wfDir, l)
defer func() {
if err := f.Close(); err != nil {
Expand Down

0 comments on commit 838a8a6

Please sign in to comment.