commit | 215119433eeddbb21afe1cc31bc9b1b0f19e19ed | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Tue Apr 15 17:44:27 2014 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Tue Apr 15 17:44:27 2014 -0700 |
tree | ff4edcccf066627cc1c4e1bf4c8a4622886d4e8a | |
parent | fe6a7e157f692749cc0cbf48efcfc9d1223057e6 [diff] |
use id instead of name as a unique identifier
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