Skip to content

Commit eaf8223

Browse files
pauld-msftCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent f0ff01f commit eaf8223

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Microsoft.ComponentDetection.Common/DockerService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal class DockerService : IDockerService
2525
private static readonly DockerClient Client = new DockerClientConfiguration().CreateClient();
2626

2727
/// <summary>
28-
/// Tracks in-flight and completed image pulls so each image is pulled at most once.
28+
/// Tracks in-flight image pulls so each image is pulled at most once concurrently.
2929
/// Concurrent callers for the same image await the same task.
3030
/// </summary>
3131
private static readonly ConcurrentDictionary<string, Task<bool>> PullCache = new();

src/Microsoft.ComponentDetection.Detectors/linux/LinuxScanner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ internal class LinuxScanner : ILinuxScanner
3333
private static readonly SemaphoreSlim ContainerSemaphore = new SemaphoreSlim(2);
3434

3535
/// <summary>
36-
/// Caches in-flight and completed syft runs.
36+
/// Caches in-flight syft runs.
3737
/// When multiple detectors scan the same image concurrently, the second
3838
/// caller awaits the already-running task instead of launching a new container.
3939
/// </summary>

0 commit comments

Comments
 (0)