mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(cli/delete): prompt for confirmation after workspace is found (#8579)
This commit is contained in:
@@ -48,6 +48,10 @@ type Workspace struct {
|
||||
Health WorkspaceHealth `json:"health"`
|
||||
}
|
||||
|
||||
func (w Workspace) FullName() string {
|
||||
return fmt.Sprintf("%s/%s", w.OwnerName, w.Name)
|
||||
}
|
||||
|
||||
type WorkspaceHealth struct {
|
||||
Healthy bool `json:"healthy" example:"false"` // Healthy is true if the workspace is healthy.
|
||||
FailingAgents []uuid.UUID `json:"failing_agents" format:"uuid"` // FailingAgents lists the IDs of the agents that are failing, if any.
|
||||
|
||||
Reference in New Issue
Block a user