Skip to content

Commit 40af688

Browse files
authored
Merge pull request #9 from atifaziz/fix-return-indent
Fix code indentation issues
2 parents ae87e74 + 403aefb commit 40af688

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

BatchDotnetTutorialFfmpeg/Program.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)