-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18296/#review35182
-----------------------------------------------------------



src/main/python/apache/aurora/client/api/sla.py
<https://reviews.apache.org/r/18296/#comment65609>

    Done.



src/main/python/apache/aurora/client/api/sla.py
<https://reviews.apache.org/r/18296/#comment65608>

    Done.



src/main/python/apache/aurora/client/api/sla.py
<https://reviews.apache.org/r/18296/#comment65610>

    Done.



src/main/python/apache/aurora/client/api/sla.py
<https://reviews.apache.org/r/18296/#comment65611>

    Done.



src/main/python/apache/aurora/client/api/sla.py
<https://reviews.apache.org/r/18296/#comment65615>

    Renamed to job_key.
    
    The for loop refactoring would not work as self._job[job_key] gets a set of 
tasks that are not available in the _hosts map.



src/main/python/apache/aurora/client/api/sla.py
<https://reviews.apache.org/r/18296/#comment65619>

    The else would fire even if the _hosts is empty producing an unbound 
variable error. I would have to add an extra check before the loop for this to 
work, which I'd rather not.



src/main/python/apache/aurora/client/api/sla.py
<https://reviews.apache.org/r/18296/#comment65621>

    Sure, that'll work too.



src/main/python/apache/aurora/client/commands/admin.py
<https://reviews.apache.org/r/18296/#comment65624>

    Done.



src/main/python/apache/aurora/client/commands/admin.py
<https://reviews.apache.org/r/18296/#comment65625>

    Done.



src/main/python/apache/aurora/client/commands/admin.py
<https://reviews.apache.org/r/18296/#comment65626>

    Sure, done.



src/test/python/apache/aurora/client/commands/test_admin_sla.py
<https://reviews.apache.org/r/18296/#comment65627>

    Dropped.


- Maxim Khutornenko


On Feb. 21, 2014, 4:30 p.m., Maxim Khutornenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/18296/
> -----------------------------------------------------------
> 
> (Updated Feb. 21, 2014, 4:30 p.m.)
> 
> 
> Review request for Aurora, Mark Chu-Carroll and Brian Wickman.
> 
> 
> Bugs: AURORA-208
>     https://issues.apache.org/jira/browse/AURORA-208
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Implemented admin_client sla_list_safe_domain command.
> 
> 
> Diffs
> -----
> 
>   src/main/python/apache/aurora/client/api/__init__.py 
> 0999b6f99bd74361663258cdae9d3920b3bb636f 
>   src/main/python/apache/aurora/client/api/sla.py 
> b0b2b245951ea72d113ff2b3969c4d54024f73e7 
>   src/main/python/apache/aurora/client/commands/admin.py 
> 45686aec8d69f0dfa1d649a92a19ca87bd315823 
>   src/test/python/apache/aurora/client/api/test_sla.py 
> 2e6c8faf668182b497df59fe41b74af240459de7 
>   src/test/python/apache/aurora/client/commands/BUILD 
> 02c27aa513d60ef901f446c56cbfc0d891445e30 
>   src/test/python/apache/aurora/client/commands/test_admin_sla.py 
> PRE-CREATION 
>   src/test/python/apache/aurora/client/commands/util.py 
> 11ae990c0d8e41470c6df438d37d8a2a79907a58 
> 
> Diff: https://reviews.apache.org/r/18296/diff/
> 
> 
> Testing
> -------
> 
> ./pants src/test/python/apache/aurora/client:all
> 
> 
> Thanks,
> 
> Maxim Khutornenko
> 
>

Reply via email to