We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71bd51c commit 489325bCopy full SHA for 489325b
src/service/engine/model.ts
@@ -36,11 +36,11 @@ export class EngineModel {
36
async stop() {
37
const query = `STOP ENGINE "${this.name}"`;
38
await this.connection.execute(query);
39
- await this.refreshStatus();
40
const res: Engine = {
41
name: this.name,
42
endpoint: this.endpoint,
43
- current_status_summary: this.current_status_summary
+ // Successful request means the engine is stopped
+ current_status_summary: EngineStatusSummary.STOPPED
44
};
45
return { engine: res };
46
}
0 commit comments