commit | 80bc76dfddca68dfda7bd9813cde282d21f95c01 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Tue Apr 15 17:53:38 2014 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Tue Apr 15 17:53:38 2014 -0700 |
tree | 925120642cbbd775a2520e3ef5d72e0aec29e031 | |
parent | 215119433eeddbb21afe1cc31bc9b1b0f19e19ed [diff] | |
parent | 02a4b4e16268119d9e0a9466246ed96e5800e3df [diff] |
Merge branch 'master' of ssh://git.planet-lab.org/git/plstackapi
diff --git a/planetstack/core/plus/views.py b/planetstack/core/plus/views.py index 3410c93..e37faef 100644 --- a/planetstack/core/plus/views.py +++ b/planetstack/core/plus/views.py
@@ -275,7 +275,7 @@ for node in site.nodeList: node.sliverCount = 0 for sliver in node.slivers.all(): - if sliver.slice.name == slice.name: + if sliver.slice.id == slice.id: node.sliverCount = node.sliverCount +1 # Allocate slivers to nodes