xenserver: Fix iteration of dictionary.
authorDominic Curran <dominic.curran@citrix.com>
Wed, 15 Feb 2012 17:17:25 +0000 (17:17 +0000)
committerBen Pfaff <blp@nicira.com>
Wed, 15 Feb 2012 17:48:28 +0000 (09:48 -0800)
commit2d57bfce57f2c71d1f396ad091e7c45ed2862f41
tree87cc594dd921b1f0250f3de4fe4a22af44e6d3e6
parent4807e7b645ffb0628708141940389c839bb0fddc
xenserver: Fix iteration of dictionary.

Fix bug in commit 3249bb907a1dab9b0, which incorrectly assumed that
get_all_records_where() returned a list.  It in fact returns a
dictionary and the list iteratory needs to change to account for this.

Thanks to Nicira for pointing this out.

NIC-454.

Reported-by: David Tsai <dtsai@nicira.com>
Acked-by: Rob Hoes <rob.hoes@citrix.com>
Signed-off-by: Dominic Curran <dominic.curran@citrix.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
xenserver/etc_xapi.d_plugins_openvswitch-cfg-update