mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(site): display devcontainer start error (#18637)
Fixes https://github.com/coder/internal/issues/705 Surface errors on the UI when a devcontainer agent is unable to be injected.
This commit is contained in:
@@ -417,6 +417,8 @@ type WorkspaceAgentDevcontainer struct {
|
||||
Dirty bool `json:"dirty"`
|
||||
Container *WorkspaceAgentContainer `json:"container,omitempty"`
|
||||
Agent *WorkspaceAgentDevcontainerAgent `json:"agent,omitempty"`
|
||||
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
// WorkspaceAgentDevcontainerAgent represents the sub agent for a
|
||||
|
||||
Reference in New Issue
Block a user