Skip to content

Commit

Permalink
fix: private method was not used
Browse files Browse the repository at this point in the history
  • Loading branch information
aneojgurhem committed Dec 14, 2023
1 parent fe3f259 commit 63c6eb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions Client/src/Common/Submitter/BaseClientSubmitter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@

using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;

using ArmoniK.Api.Client.Submitter;
using ArmoniK.Api.Client;
using ArmoniK.Api.Client.Submitter;
using ArmoniK.Api.Common.Utils;
using ArmoniK.Api.gRPC.V1;
using ArmoniK.Api.gRPC.V1.Events;
Expand Down Expand Up @@ -581,7 +580,7 @@ public byte[] GetResult(string taskId,
ResultId = resultId,
Session = SessionId.Id,
};
using var channel = channelPool_.GetChannel();
using var channel = ChannelPool.GetChannel();
var eventsClient = new Events.EventsClient(channel);
eventsClient.WaitForResultsAsync(SessionId.Id,
new List<string>
Expand Down
8 changes: 4 additions & 4 deletions Client/src/Common/Submitter/EventsClientExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ private static FiltersAnd ResultsFilter(string resultId)
},
};

private static async Task WaitForResultsAsync(this Events.EventsClient client,
string sessionId,
ICollection<string> resultIds,
CancellationToken cancellationToken)
internal static async Task WaitForResultsAsync(this Events.EventsClient client,
string sessionId,
ICollection<string> resultIds,
CancellationToken cancellationToken)
{
var resultsNotFound = new HashSet<string>(resultIds);
while (resultsNotFound.Any())
Expand Down

0 comments on commit 63c6eb3

Please sign in to comment.