commit | 959cba3f8b1d3a8c321ca2f4b8cd8835cacaba2e | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Sun Jun 11 19:41:23 2017 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Sun Jun 11 19:41:23 2017 -0700 |
tree | 031e7c16c72d8fdb46f915144dbcdb5164e7426a | |
parent | b5fa8a21e65a57d3bb18ce6aa39fd40528335efe [diff] [blame] |
CORD-1438 fix bug in Network model policy Change-Id: I323922afdbb07ff3d56a45394819a5e028408ff6
diff --git a/xos/synchronizer/model_policies/model_policy_Network.py b/xos/synchronizer/model_policies/model_policy_Network.py index 4000596..606fec8 100644 --- a/xos/synchronizer/model_policies/model_policy_Network.py +++ b/xos/synchronizer/model_policies/model_policy_Network.py
@@ -23,7 +23,7 @@ existing_controllers = [] for cn in ControllerNetwork.objects.all(): if cn.network.id == network.id: - existing_controllers.append(controller) + existing_controllers.append(cn.controller) existing_controller_ids = [c.id for c in existing_controllers]