aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject git commit: Set owner field correctly in getTasksStatus call
Date Fri, 02 May 2014 18:58:47 GMT
Repository: incubator-aurora
Updated Branches:
  refs/heads/master 64951933e -> 8ca5ab422


Set owner field correctly in getTasksStatus call

Was incorrectly setting the identity field instead of the owner field in getTasksStatus call.

Testing Done:
Tested on local laptop using ./gradlew run.
Verified logs.
Looked at client code in test_status.py to ensure we are making the backend call correctly.

Bugs closed: AURORA-373

Reviewed at https://reviews.apache.org/r/21020/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/8ca5ab42
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/8ca5ab42
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/8ca5ab42

Branch: refs/heads/master
Commit: 8ca5ab422e17985f8b294874610247aa62783da1
Parents: 6495193
Author: Suman Karumuri <mansu@apache.org>
Authored: Fri May 2 11:58:17 2014 -0700
Committer: Suman Karumuri <skarumuri@twitter.com>
Committed: Fri May 2 11:58:17 2014 -0700

----------------------------------------------------------------------
 .../resources/org/apache/aurora/scheduler/http/ui/js/services.js   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/8ca5ab42/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js
----------------------------------------------------------------------
diff --git a/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js b/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js
index 96748eb..feb9ece 100644
--- a/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js
+++ b/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js
@@ -47,7 +47,7 @@ auroraUI.factory(
           var id = new Identity();
           id.role = role;
           var taskQuery = new TaskQuery();
-          taskQuery.identity = id;
+          taskQuery.owner = id;
           taskQuery.environment = environment;
           taskQuery.jobName = jobName;
           var response = auroraClient.getSchedulerClient().getTasksStatus(taskQuery);


Mime
View raw message