Skip to content

Commit

Permalink
Router taskId changes
Browse files Browse the repository at this point in the history
  • Loading branch information
John Smith committed May 8, 2024
1 parent dc0aa0e commit 78e2da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control-plane/src/modules/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -957,9 +957,9 @@ export const router = s.router(contract, {
const { clusterId } = request.params;
const { task } = request.body;

const taskId = ulid();
const { executeTaskForCluster } = require("./agents/agent");

const taskId = ulid();
const result = await executeTaskForCluster({ clusterId }, taskId, task);

return {
Expand Down

0 comments on commit 78e2da9

Please sign in to comment.