Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit cd659d2

Browse files
authored
Fixed the database query to retrieve the proxy for a region (#2743)
1 parent dc0f7ab commit cd659d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiService/ApiService/onefuzzlib/ProxyOperations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public ProxyOperations(ILogTracer log, IOnefuzzContext context)
4141

4242
public async Async.Task<Proxy> GetOrCreate(Region region) {
4343
{
44-
var proxyList = QueryAsync(filter: TableClient.CreateQueryFilter($"region eq {region.String} and outdated eq false"));
44+
var proxyList = QueryAsync(filter: TableClient.CreateQueryFilter($"RowKey eq {region.String} and outdated eq false"));
4545
await foreach (var proxy in proxyList) {
4646
if (IsOutdated(proxy)) {
4747
var r1 = await Replace(proxy with { Outdated = true });

0 commit comments

Comments
 (0)