Skip to content

Commit

Permalink
[IngestionClient] Fix environment variable setup for azure deployment (
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryvanderVegte authored Jul 30, 2024
1 parent c808bef commit 8fa5903
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static void Main(string[] args)
{
var configuration = context.Configuration;
var config = new AppConfig();
configuration.GetSection("Values").Bind(config);
configuration.Bind(config);

var blobServiceClient = new BlobServiceClient(config.AzureWebJobsStorage);
var storageCredential = new StorageSharedKeyCredential(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static void Main(string[] args)
{
var configuration = context.Configuration;
var config = new AppConfig();
configuration.GetSection("Values").Bind(config);
configuration.Bind(config);

var blobServiceClient = new BlobServiceClient(config.AzureWebJobsStorage);
var storageCredential = new StorageSharedKeyCredential(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static void Main(string[] args)
{
var configuration = context.Configuration;
var config = new AppConfig();
configuration.GetSection("Values").Bind(config);
configuration.Bind(config);

var blobServiceClient = new BlobServiceClient(config.AzureWebJobsStorage);
var storageCredential = new StorageSharedKeyCredential(
Expand Down
2 changes: 1 addition & 1 deletion samples/ingestion/ingestion-client/infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ param DeploymentId string = utcNow()
param CompletedServiceBusConnectionString string = ''

// Don't change the format for Version variable
var Version = 'v2.1.8'
var Version = 'v2.1.9'
var AudioInputContainer = 'audio-input'
var AudioProcessedContainer = 'audio-processed'
var ErrorFilesOutputContainer = 'audio-failed'
Expand Down
4 changes: 2 additions & 2 deletions samples/ingestion/ingestion-client/infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "9541547417566949871"
"templateHash": "10199282088246899223"
}
},
"parameters": {
Expand Down Expand Up @@ -224,7 +224,7 @@
}
},
"variables": {
"Version": "v2.1.8",
"Version": "v2.1.9",
"AudioInputContainer": "audio-input",
"AudioProcessedContainer": "audio-processed",
"ErrorFilesOutputContainer": "audio-failed",
Expand Down

0 comments on commit 8fa5903

Please sign in to comment.