Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 477de26

Browse files
authored
List -> IReadOnlyList for the EnqueueScanAndSignAsync parameter (#462)
1 parent 2d5426f commit 477de26

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Validation.ScanAndSign.Core/IScanAndSignEnqueuer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ public interface IScanAndSignEnqueuer
2323
/// <param name="nupkgUrl">Url of the package to scan and sign.</param>
2424
/// <param name="v3ServiceIndexUrl">The service index URL that should be put on the package's repository signature.</param>
2525
/// <param name="owners">The list of owners that should be put on the package's repository signature.</param>
26-
Task EnqueueScanAndSignAsync(Guid validationId, string nupkgUrl, string v3ServiceIndexUrl, List<string> owners);
26+
Task EnqueueScanAndSignAsync(Guid validationId, string nupkgUrl, string v3ServiceIndexUrl, IReadOnlyList<string> owners);
2727
}
2828
}

src/Validation.ScanAndSign.Core/ScanAndSignEnqueuer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public Task EnqueueScanAsync(Guid validationId, string nupkgUrl)
5353
new Uri(nupkgUrl)));
5454
}
5555

56-
public Task EnqueueScanAndSignAsync(Guid validationId, string nupkgUrl, string v3ServiceIndexUrl, List<string> owners)
56+
public Task EnqueueScanAndSignAsync(Guid validationId, string nupkgUrl, string v3ServiceIndexUrl, IReadOnlyList<string> owners)
5757
{
5858
if (nupkgUrl == null)
5959
{

0 commit comments

Comments
 (0)