Skip to content

Commit

Permalink
bug fixing; solves #13
Browse files Browse the repository at this point in the history
  • Loading branch information
Crynners committed Oct 7, 2021
1 parent e773318 commit 58b2360
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CryptoBotFunction/install_script.ps1
Original file line number Diff line number Diff line change
@@ -83,13 +83,13 @@ $zipFile = 'AccBot.zip'
$resourceGroupName='AccBot'

$cosmosDBAccountName='accbotcosmosdbaccount-'+$([System.Guid]::NewGuid().ToString())
$cosmosDBAccountName = $cosmosDBAccountName.Substring(0,44)
$cosmosDBAccountName = $cosmosDBAccountName.Substring(0,43) + '0'

$appInsightsName ='appinsights-'+$([System.Guid]::NewGuid().ToString())
$appInsightsName = $appInsightsName.Substring(0,44)
$appInsightsName ='appinsights-' + $([System.Guid]::NewGuid().ToString())
$appInsightsName = $appInsightsName.Substring(0,43) + '0'

$azFunctionName ='azfunc-' + $AccBotName + '-'+$([System.Guid]::NewGuid().ToString())
$azFunctionName = $azFunctionName.Substring(0,44)
$azFunctionName = $azFunctionName.Substring(0,43) + '0'

$randomNumber = Get-Random -Maximum 1000000000
$storageAccountName ='accbotsa' + $randomNumber

0 comments on commit 58b2360

Please sign in to comment.