8000 chore: comment · coder/coder@9412417 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9412417

Browse files
chore: comment
1 parent 08576b1 commit 9412417

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

site/src/modules/resources/AgentStatus.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,9 @@ export const DevcontainerStatus: FC<DevcontainerStatusProps> = ({
337337
agent,
338338
}) => {
339339
if (devcontainer.error) {
340+
// When a dev container has an 'error' associated with it,
341+
// then we won't have an agent associated with it. This is
342+
// why we use the parent agent instead of the sub agent.
340343
return <DevcontainerStartError agent={parentAgent} />;
341344
}
342345

0 commit comments

Comments
 (0)
0