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 cfa56ab3..d14963ce 100644 --- a/packages/azuredeployer.gbapp/services/AzureDeployerService.ts +++ b/packages/azuredeployer.gbapp/services/AzureDeployerService.ts @@ -357,6 +357,18 @@ export class AzureDeployerService implements IGBInstallationDeployer { 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];