fix(app): comment out boot instance creation and saving in legacy mode
All checks were successful
GBCI / build (push) Successful in 6m44s
All checks were successful
GBCI / build (push) Successful in 6m44s
This commit is contained in:
parent
7594cea1e0
commit
97862e54a5
1 changed files with 8 additions and 8 deletions
16
src/app.ts
16
src/app.ts
|
@ -188,14 +188,14 @@ export class GBServer {
|
|||
|
||||
if (GBConfigService.get('GB_MODE') === 'legacy') {
|
||||
await core.initStorage();
|
||||
[GBServer.globals.bootInstance, azureDeployer] = await core['createBootInstanceEx'](
|
||||
core,
|
||||
null,
|
||||
GBServer.globals.publicAddress,
|
||||
deployer,
|
||||
GBConfigService.get('FREE_TIER')
|
||||
);
|
||||
await core.saveInstance(GBServer.globals.bootInstance);
|
||||
// [GBServer.globals.bootInstance, azureDeployer] = await core['createBootInstanceEx'](
|
||||
// core,
|
||||
// null,
|
||||
// GBServer.globals.publicAddress,
|
||||
// deployer,
|
||||
// GBConfigService.get('FREE_TIER')
|
||||
// );
|
||||
// await core.saveInstance(GBServer.globals.bootInstance);
|
||||
}
|
||||
else {
|
||||
await core.initStorage();
|
||||
|
|
Loading…
Add table
Reference in a new issue