juju/juju-gui — pull request #82 by mitechie (2014-01-21 19:32:59+00:00)
Title: Fix support for displaying number of units in bundle view

Currently all unit counts in the bundle display are showing the default of 1. The num_units attribute is actually buried as you can see in the other attribute access above (origService.name).

This fixes the access and adds a quick assertion that it's getting picked up.

To QA:

Load http://gui:8888/sidebar/search/bundle/~gary/demo/2/instantBigDataNoSQL/?text=gary#bws-services and make sure that the unit counts are correct. They should not all be 1.