new(all): TRUE multicloud.
This commit is contained in:
		
							parent
							
								
									016abf7aac
								
							
						
					
					
						commit
						3d1624ac23
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -225,7 +225,7 @@ export class GBServer {
 | 
			
		|||
            GBServer.globals.publicAddress
 | 
			
		||||
          );
 | 
			
		||||
 | 
			
		||||
          if (instances.  length === 0) {
 | 
			
		||||
          if (instances.length === 0) {
 | 
			
		||||
            if (GBConfigService.get('STORAGE_NAME')) {
 | 
			
		||||
              const instance = await importer.importIfNotExistsBotPackage(
 | 
			
		||||
                GBConfigService.get('BOT_ID'),
 | 
			
		||||
| 
						 | 
				
			
			@ -245,8 +245,9 @@ export class GBServer {
 | 
			
		|||
            }
 | 
			
		||||
          }
 | 
			
		||||
 | 
			
		||||
          if (!GBConfigService.get('STORAGE_NAME')) {
 | 
			
		||||
            await core['ensureFolders'](instances, deployer);
 | 
			
		||||
 | 
			
		||||
          }
 | 
			
		||||
          GBServer.globals.bootInstance = instances[0];
 | 
			
		||||
 | 
			
		||||
          // Builds minimal service infrastructure.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue