fix(azuredeployer.gbapp): Fix in bot booting.
This commit is contained in:
parent
fe5d56ff69
commit
fe86deff96
2 changed files with 12 additions and 1 deletions
|
@ -100,6 +100,7 @@ export class StartDialog {
|
|||
}
|
||||
|
||||
// Prepares the first instance on bot farm.
|
||||
|
||||
const instance = <IGBInstance>{};
|
||||
|
||||
instance.botId = botId;
|
||||
|
|
|
@ -350,13 +350,23 @@ export class AzureDeployerService implements IGBInstallationDeployer {
|
|||
};
|
||||
await this.storageClient.firewallRules.createOrUpdate(groupName, serverName, 'gb', params);
|
||||
}
|
||||
|
||||
public async deployFarm(
|
||||
proxyAddress: string,
|
||||
instance: IGBInstance,
|
||||
credentials: any,
|
||||
subscriptionId: string
|
||||
): Promise<IGBInstance> {
|
||||
return await this.deployFarm2(proxyAddress,
|
||||
instance,
|
||||
credentials,
|
||||
subscriptionId);
|
||||
}
|
||||
public async deployFarm2(
|
||||
proxyAddress: string,
|
||||
instance: IGBInstance,
|
||||
credentials: any,
|
||||
subscriptionId: string
|
||||
){
|
||||
const culture = 'en-us';
|
||||
|
||||
const token = credentials['tokenCache']._entries[0];
|
||||
|
|
Loading…
Add table
Reference in a new issue