aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject git commit: Fixing admin scheduler_print_recovery_tasks.
Date Thu, 16 Jan 2014 01:11:43 GMT
Updated Branches:
  refs/heads/master 9b752b39e -> b7a82050e


Fixing admin scheduler_print_recovery_tasks.

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


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

Branch: refs/heads/master
Commit: b7a82050e9467422274e9e759e4fc50c40ca7c53
Parents: 9b752b3
Author: Maxim Khutornenko <maxim@apache.org>
Authored: Wed Jan 15 17:11:19 2014 -0800
Committer: Maxim Khutornenko <mkhutornenko@twitter.com>
Committed: Wed Jan 15 17:11:19 2014 -0800

----------------------------------------------------------------------
 src/main/python/apache/aurora/client/commands/admin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/b7a82050/src/main/python/apache/aurora/client/commands/admin.py
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/client/commands/admin.py b/src/main/python/apache/aurora/client/commands/admin.py
index 8abb983..68c15c7 100644
--- a/src/main/python/apache/aurora/client/commands/admin.py
+++ b/src/main/python/apache/aurora/client/commands/admin.py
@@ -330,7 +330,7 @@ def scheduler_print_recovery_tasks(cluster):
       TaskQuery(statuses=ACTIVE_STATES))
   check_and_log_response(resp)
   log.info('Role\tJob\tShard\tStatus\tTask ID')
-  for task in resp.tasks:
+  for task in resp.result.queryRecoveryResult.tasks:
     assigned = task.assignedTask
     conf = assigned.task
     log.info('\t'.join((conf.owner.role,


Mime
View raw message