Skip to content

Commit

Permalink
Fix log append itself
Browse files Browse the repository at this point in the history
  • Loading branch information
NV4RE committed Sep 20, 2021
1 parent ae4a5f6 commit 0d65b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/redis/taskInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class TaskInstanceRedisStore extends RedisStore
].includes(taskUpdate.status)
? Date.now()
: null,
logs: appendArray(taskUpdate.logs ?? [], taskUpdate.logs),
logs: appendArray(task.logs ?? [], taskUpdate.logs),
};

await this.client.set(key, JSON.stringify(updatedTask));
Expand Down

0 comments on commit 0d65b18

Please sign in to comment.