You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aurora.apache.org by "Maxim Khutornenko (JIRA)" <ji...@apache.org> on 2014/01/16 02:04:19 UTC

[jira] [Commented] (AURORA-40) aurora_admin scheduler_print_recovery_tasks is broken

    [ https://issues.apache.org/jira/browse/AURORA-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13872897#comment-13872897 ] 

Maxim Khutornenko commented on AURORA-40:
-----------------------------------------

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

> aurora_admin scheduler_print_recovery_tasks is broken
> -----------------------------------------------------
>
>                 Key: AURORA-40
>                 URL: https://issues.apache.org/jira/browse/AURORA-40
>             Project: Aurora
>          Issue Type: Bug
>            Reporter: Maxim Khutornenko
>            Assignee: Maxim Khutornenko
>
> $ aurora_admin scheduler_print_recovery_tasks example
> fails with the following error:
> AttributeError: 'Response' object has no attribute 'tasks'
> Reason: scheduler_print_recovery_tasks in admin.py needs to change 
> from:
> for task in resp.tasks:
> to:
> for task in resp.queryRecoveryResult.tasks:



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)