yellow team mailing list archive
-
yellow team
-
Mailing list archive
-
Message #01693
Re: Fix initial creation of subordinates. (issue 6856067)
A test was added as well, but rather than just testing whether or not
subordinates had been placed properly, it tests that all services have
been placed properly.
https://codereview.appspot.com/6856067/diff/1/app/views/environment.js
File app/views/environment.js (right):
https://codereview.appspot.com/6856067/diff/1/app/views/environment.js#newcode323
app/views/environment.js:323: })
On 2012/11/20 14:50:48, bac wrote:
> maybe this would be more readable:
> min(1, d.unit_count)
Thanks! Did Math.max(d.unit_count, 1); (since we want 1 or higher)
https://codereview.appspot.com/6856067/
--
https://code.launchpad.net/~makyo/juju-gui/adding-subordinates/+merge/135022
Your team Juju GUI Hackers is requested to review the proposed merge of lp:~makyo/juju-gui/adding-subordinates into lp:juju-gui.
References