diff --git a/BatchDotnetTutorialFfmpeg/Program.cs b/BatchDotnetTutorialFfmpeg/Program.cs index 1f5a19f..10f7cb6 100644 --- a/BatchDotnetTutorialFfmpeg/Program.cs +++ b/BatchDotnetTutorialFfmpeg/Program.cs @@ -318,8 +318,8 @@ private static async Task CreatePoolIfNotExistAsync(BatchClient batchClient, str { new ApplicationPackageReference { - ApplicationId = appPackageId, - Version = appPackageVersion + ApplicationId = appPackageId, + Version = appPackageVersion } }; @@ -347,14 +347,13 @@ private static async Task CreatePoolIfNotExistAsync(BatchClient batchClient, str /// ID of the CloudPool object in which to create the job. private static async Task CreateJobAsync(BatchClient batchClient, string jobId, string poolId) { - - Console.WriteLine("Creating job [{0}]...", jobId); + Console.WriteLine("Creating job [{0}]...", jobId); - CloudJob job = batchClient.JobOperations.CreateJob(); - job.Id = jobId; - job.PoolInformation = new PoolInformation { PoolId = poolId }; + CloudJob job = batchClient.JobOperations.CreateJob(); + job.Id = jobId; + job.PoolInformation = new PoolInformation { PoolId = poolId }; - await job.CommitAsync(); + await job.CommitAsync(); } @@ -475,7 +474,8 @@ private static async Task MonitorTasks(BatchClient batchClient, string job { Console.WriteLine(successMessage); } - return allTasksSuccessful; + + return allTasksSuccessful; } } }