CLOUDSTACK-5669: Always retrieve the most recent job result in OutComeImpl

This commit is contained in:
Kelven Yang 2014-01-02 11:46:54 -08:00
parent 737a382c38
commit 832c8e4728

View File

@ -51,7 +51,9 @@ public class OutcomeImpl<T> implements Outcome<T> {
@Override
public AsyncJob getJob() {
return _job;
// always reload job so that we retrieve the latest job result
AsyncJob job = s_jobMgr.getAsyncJob(_job.getId());
return job;
}
@Override