Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
EVG-20086 Add task blocked event copy (#2021)
Browse files Browse the repository at this point in the history
  • Loading branch information
khelif96 authored Sep 5, 2023
1 parent 2390f81 commit e609f98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/task/taskTabs/logs/logTypes/TaskEventLogLine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export const TaskEventLogLine: React.FC<TaskEventLogEntry> = ({
const containerOrHostCopy = podId ? "container" : "host";
let message: JSX.Element;
switch (eventType) {
case TaskEventType.TaskBlocked:
message = <>Task is blocked.</>;
break;
case TaskEventType.TaskFinished:
message = (
<>
Expand Down
1 change: 1 addition & 0 deletions src/types/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export enum TaskEventType {
TaskFinished = "TASK_FINISHED",
TaskStarted = "TASK_STARTED",
TaskDispatched = "TASK_DISPATCHED",
TaskBlocked = "TASK_BLOCKED",
TaskUndispatched = "TASK_UNDISPATCHED",
TaskCreated = "TASK_CREATED",
TaskRestarted = "TASK_RESTARTED",
Expand Down

0 comments on commit e609f98

Please sign in to comment.