Allow restarting failed server instances
This commit is contained in:
@@ -108,7 +108,7 @@ export function endpointLabel(endpoint: RunEndpointResponse | undefined, runEndp
|
||||
}
|
||||
|
||||
export function canStartServer(state: ServerInstanceState): boolean {
|
||||
return state === "ready" || state === "stopped";
|
||||
return state === "ready" || state === "stopped" || state === "failed";
|
||||
}
|
||||
|
||||
export function canStopServer(state: ServerInstanceState): boolean {
|
||||
|
||||
Reference in New Issue
Block a user