зеркало из https://github.com/Azure/hpcpack-acm.git
Fix the job failure update only update one record issue
This commit is contained in:
Родитель
4f8a28c34e
Коммит
16a06564f0
|
@ -123,7 +123,7 @@
|
|||
{
|
||||
await T.Task.WhenAll(
|
||||
u.AddJobsEventAsync(jobType, jobId, message, EventType.Alert, token, logger),
|
||||
u.UpdateJobAsync(u.GetJobPartitionKey(jobType, jobId), j => j.State = JobState.Failed, token, logger));
|
||||
u.UpdateJobAsync(jobType, jobId, j => j.State = JobState.Failed, token, logger));
|
||||
}
|
||||
|
||||
public static T.Task AddJobsEventAsync(this CloudUtilities u, Job job, string message, EventType type = EventType.Information, CancellationToken token = default(CancellationToken), ILogger logger = null) =>
|
||||
|
|
Загрузка…
Ссылка в новой задаче