You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ma...@apache.org on 2014/05/02 20:58:47 UTC

git commit: Set owner field correctly in getTasksStatus call

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 <ma...@apache.org>
Authored: Fri May 2 11:58:17 2014 -0700
Committer: Suman Karumuri <sk...@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);