Skip to content

Commit

Permalink
Merge "Check membership in set instead of list, in scale *way* more p…
Browse files Browse the repository at this point in the history
…erformant." into R3.1
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Aug 5, 2016
2 parents d62ca32 + 28ee8bb commit 111bb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/schema-transformer/to_bgp.py
Expand Up @@ -370,7 +370,7 @@ def reinit(self):
BgpRouterST.reinit()
LogicalRouterST.reinit()
vn_list = list(VirtualNetworkST.list_vnc_obj())
vn_id_list = [vn.uuid for vn in vn_list]
vn_id_list = set([vn.uuid for vn in vn_list])
ri_dict = {}
service_ri_dict = {}
ri_deleted = {}
Expand Down

0 comments on commit 111bb8c

Please sign in to comment.