feat: auto-deploy guided servers on run registration
This commit is contained in:
@@ -115,10 +115,6 @@ export function canStopServer(state: ServerInstanceState): boolean {
|
||||
return state === "running";
|
||||
}
|
||||
|
||||
export function canDeployServer(state: ServerInstanceState): boolean {
|
||||
return state === "draft" || state === "failed";
|
||||
}
|
||||
|
||||
export function isPendingJobState(state: JobResponse["state"]): boolean {
|
||||
return state === "queued" || state === "accepted" || state === "running" || state === "retrying";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user