Skip to content

Commit

Permalink
fix: this is rfc, do not deploy until resolved; details in comments
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Porter <[email protected]>
  • Loading branch information
jsonporter committed Jun 7, 2021
1 parent d27e70d commit 8955aab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Executions/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ export const taskExecutionIsTerminal = (taskExecution: TaskExecution) =>
terminalTaskExecutionStates.includes(taskExecution.closure.phase);

export function getNodeExecutionSpecId(nodeExecution: NodeExecution): string {
return nodeExecution.metadata?.specNodeId || nodeExecution.id.nodeId;
/** RFC: DO NOT DEPLOY UNTIL RESOLVED
* I am unclear on the implications of removing ternary here
*
* modified: return nodeExecution.metadata?.specNodeId || nodeExecution.id.nodeId;
*/
return nodeExecution.id.nodeId;
}

interface GetExecutionDurationMSArgs {
Expand Down

0 comments on commit 8955aab

Please sign in to comment.