@@ -318,8 +318,8 @@ private static async Task CreatePoolIfNotExistAsync(BatchClient batchClient, str
318318 {
319319 new ApplicationPackageReference
320320 {
321- ApplicationId = appPackageId ,
322- Version = appPackageVersion
321+ ApplicationId = appPackageId ,
322+ Version = appPackageVersion
323323 }
324324 } ;
325325
@@ -347,14 +347,13 @@ private static async Task CreatePoolIfNotExistAsync(BatchClient batchClient, str
347347 /// <param name="poolId">ID of the CloudPool object in which to create the job.</param>
348348 private static async Task CreateJobAsync ( BatchClient batchClient , string jobId , string poolId )
349349 {
350-
351- Console . WriteLine ( "Creating job [{0}]..." , jobId ) ;
350+ Console . WriteLine ( "Creating job [{0}]..." , jobId ) ;
352351
353- CloudJob job = batchClient . JobOperations . CreateJob ( ) ;
354- job . Id = jobId ;
355- job . PoolInformation = new PoolInformation { PoolId = poolId } ;
352+ CloudJob job = batchClient . JobOperations . CreateJob ( ) ;
353+ job . Id = jobId ;
354+ job . PoolInformation = new PoolInformation { PoolId = poolId } ;
356355
357- await job . CommitAsync ( ) ;
356+ await job . CommitAsync ( ) ;
358357 }
359358
360359
@@ -475,7 +474,8 @@ private static async Task<bool> MonitorTasks(BatchClient batchClient, string job
475474 {
476475 Console . WriteLine ( successMessage ) ;
477476 }
478- return allTasksSuccessful ;
477+
478+ return allTasksSuccessful ;
479479 }
480480 }
481481}
0 commit comments