Mercurial > hg > orthanc
comparison Core/JobsEngine/JobsRegistry.cpp @ 2812:ea7aea6f6a95
improved naming of methods in IJob
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Sep 2018 16:23:40 +0200 |
parents | 8e0bc055d18c |
children | 859a4950d48f |
comparison
equal
deleted
inserted
replaced
2811:7cfc8d266f41 | 2812:ea7aea6f6a95 |
---|---|
928 LOG(WARNING) << "Cannot resubmit a job that has not failed: " << id; | 928 LOG(WARNING) << "Cannot resubmit a job that has not failed: " << id; |
929 return false; | 929 return false; |
930 } | 930 } |
931 else | 931 else |
932 { | 932 { |
933 found->second->GetJob().SignalResubmit(); | 933 found->second->GetJob().Reset(); |
934 | 934 |
935 bool ok = false; | 935 bool ok = false; |
936 for (CompletedJobs::iterator it = completedJobs_.begin(); | 936 for (CompletedJobs::iterator it = completedJobs_.begin(); |
937 it != completedJobs_.end(); ++it) | 937 it != completedJobs_.end(); ++it) |
938 { | 938 { |