mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-22 22:28:50 +00:00
Upgrading dotnet version to 6.0.300 (#1947)
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -262,7 +262,7 @@ jobs:
|
||||
- name: Setup .NET Core SDK
|
||||
uses: actions/setup-dotnet@v2
|
||||
with:
|
||||
dotnet-version: '6.0.202'
|
||||
dotnet-version: '6.0.300'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd src/ApiService/
|
||||
|
@ -33,7 +33,7 @@ public class TimerTasks {
|
||||
var expiredJobs = _jobOperations.SearchExpired();
|
||||
|
||||
await foreach (var job in expiredJobs) {
|
||||
_logger.Info($"stopping expired job. job_id:{job.JobId }");
|
||||
_logger.Info($"stopping expired job. job_id:{job.JobId}");
|
||||
await _jobOperations.Stopping(job, _taskOperations);
|
||||
}
|
||||
|
||||
|
@ -66,7 +66,7 @@ public class TaskOperations : StatefulOrm<Task, TaskState>, ITaskOperations {
|
||||
}
|
||||
|
||||
public IAsyncEnumerable<Task> SearchExpired() {
|
||||
var timeFilter = $"end_time lt Datetime'{DateTimeOffset.UtcNow.ToString("o") }'";
|
||||
var timeFilter = $"end_time lt Datetime'{DateTimeOffset.UtcNow.ToString("o")}'";
|
||||
return QueryAsync(filter: timeFilter);
|
||||
}
|
||||
|
||||
|
@ -149,7 +149,7 @@ namespace ApiService.OneFuzzLib.Orm {
|
||||
});
|
||||
|
||||
if (func != null) {
|
||||
_logTracer.Info($"processing state update: {typeof(T)} - PartitionKey {_partitionKeyGetter?.Value() } {_rowKeyGetter?.Value() } - %s");
|
||||
_logTracer.Info($"processing state update: {typeof(T)} - PartitionKey {_partitionKeyGetter?.Value()} {_rowKeyGetter?.Value()} - %s");
|
||||
return await func(entity);
|
||||
}
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user