diff --git a/packages/azuredeployer.gbapp/dialogs/StartDialog.ts b/packages/azuredeployer.gbapp/dialogs/StartDialog.ts index c0381114..0bb77628 100644 --- a/packages/azuredeployer.gbapp/dialogs/StartDialog.ts +++ b/packages/azuredeployer.gbapp/dialogs/StartDialog.ts @@ -100,6 +100,7 @@ export class StartDialog { } // Prepares the first instance on bot farm. + const instance = {}; instance.botId = botId; diff --git a/packages/azuredeployer.gbapp/services/AzureDeployerService.ts b/packages/azuredeployer.gbapp/services/AzureDeployerService.ts index f614bc51..682032ae 100644 --- a/packages/azuredeployer.gbapp/services/AzureDeployerService.ts +++ b/packages/azuredeployer.gbapp/services/AzureDeployerService.ts @@ -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 { + 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];