> On June 4, 2014, 1:37 a.m., Mark Chu-Carroll wrote: > > src/main/python/apache/aurora/admin/admin_util.py, line 14 > > <https://reviews.apache.org/r/22167/diff/2/?file=602083#file602083line14> > > > > This really needs some doc comments. I can figure out what individual > > functions do, but I have no idea how they fit in.
Added. > On June 4, 2014, 1:37 a.m., Mark Chu-Carroll wrote: > > src/main/python/apache/aurora/admin/host_maintenance.py, line 86 > > <https://reviews.apache.org/r/22167/diff/2/?file=602084#file602084line86> > > > > You've got an identical "print_results" function in utils. Why? That's a refactoring leftover. Removed. > On June 4, 2014, 1:37 a.m., Mark Chu-Carroll wrote: > > src/main/python/apache/aurora/client/commands/maintenance.py, line 96 > > <https://reviews.apache.org/r/22167/diff/2/?file=602089#file602089line96> > > > > I don't understand this replacement: why did you get rid of the > > post-drain stuff? It got moved into parse_script() function in admin_util.py for consistency with other "parse" methods. - Maxim ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/22167/#review44684 ----------------------------------------------------------- On June 3, 2014, 12:26 a.m., Maxim Khutornenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/22167/ > ----------------------------------------------------------- > > (Updated June 3, 2014, 12:26 a.m.) > > > Review request for Aurora, Joe Smith, Mark Chu-Carroll, and Brian Wickman. > > > Bugs: AURORA-445 > https://issues.apache.org/jira/browse/AURORA-445 > > > Repository: aurora > > > Description > ------- > > Adding SLA check into perform_maintenance_hosts command with the possibility > of override. > > > Diffs > ----- > > src/main/python/apache/aurora/admin/BUILD > 8d850bcea353a0a4afe0135d600a890511bb6751 > src/main/python/apache/aurora/admin/admin_util.py PRE-CREATION > src/main/python/apache/aurora/admin/host_maintenance.py > ca26de1e1a75aa4ae1c47ddd0f566b577c67fc7c > src/main/python/apache/aurora/client/base.py > ef0855daf95b6bddb6788284102effde2599179b > src/main/python/apache/aurora/client/cli/__init__.py > fd6f96ebe4acd358409f145178ebf8ad5ea27d05 > src/main/python/apache/aurora/client/commands/BUILD > 03cd4855464972e4ace6081f50d140ffbe5807c4 > src/main/python/apache/aurora/client/commands/admin.py > 919eea933a5a65396e64e05c739344f0c093c1b3 > src/main/python/apache/aurora/client/commands/maintenance.py > f6ebe3b0c665211f175f0b432a2fdae83fc7b62f > src/test/python/apache/aurora/client/commands/test_admin_sla.py > 84a91d55516594dadc01408eb9d0b4773060d1af > src/test/python/apache/aurora/client/commands/test_maintenance.py > dd56b8d1feddb48a741e1a855833eb577cea67ab > src/test/python/apache/aurora/client/commands/util.py > 84784171816797f3a4fa4c5238d19b626e68ff44 > > Diff: https://reviews.apache.org/r/22167/diff/ > > > Testing > ------- > > ./pants src/tests/python:all > > > Thanks, > > Maxim Khutornenko > >
