Skip to content

Commit 8138166

Browse files
authored
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.3xx' (#51673)
2 parents c9560db + d4cf2a5 commit 8138166

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Tests/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryManager.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ public static async Task StartAndPopulateDockerRegistry(ITestOutputHelper testOu
3939
{
4040
using TestLoggerFactory loggerFactory = new(testOutput);
4141

42-
if (!new DockerCli(loggerFactory).IsAvailable()) {
42+
if (!new DockerCli(loggerFactory).IsAvailable())
43+
{
4344
throw new InvalidOperationException("Docker is not available, tests cannot run");
4445
}
4546

@@ -98,7 +99,7 @@ public static async Task StartAndPopulateDockerRegistry(ITestOutputHelper testOu
9899
{
99100
ContainerCli.StopCommand(testOutput, s_registryContainerId).Execute();
100101
}
101-
catch(Exception ex2)
102+
catch (Exception ex2)
102103
{
103104
logger.LogError(ex2, "Failed to stop the registry {id}.", s_registryContainerId);
104105
}

0 commit comments

Comments
 (0)