cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject git commit: updated refs/heads/master to 3b32732
Date Tue, 22 Jul 2014 17:08:37 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 1d2124dcb -> 3b3273245


CLOUDSTACK-7162:queryAsyncJobResult api does not return jobinstanceid.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3b327324
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3b327324
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3b327324

Branch: refs/heads/master
Commit: 3b32732459730bfd4848678c95c27e2eb653cc04
Parents: 1d2124d
Author: Min Chen <min.chen@citrix.com>
Authored: Tue Jul 22 09:47:27 2014 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Tue Jul 22 09:47:59 2014 -0700

----------------------------------------------------------------------
 .../cloudstack/framework/jobs/impl/AsyncJobManagerImpl.java      | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3b327324/framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobManagerImpl.java
----------------------------------------------------------------------
diff --git a/framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobManagerImpl.java
b/framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobManagerImpl.java
index 72fc2b4..c28e87b 100644
--- a/framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobManagerImpl.java
+++ b/framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobManagerImpl.java
@@ -244,10 +244,6 @@ public class AsyncJobManagerImpl extends ManagerBase implements AsyncJobManager,
                 job.setStatus(jobStatus);
                 job.setResultCode(resultCode);
 
-                // reset attached object
-                job.setInstanceType(null);
-                job.setInstanceId(null);
-
                 if (resultObject != null) {
                     job.setResult(resultObject);
                 } else {


Mime
View raw message