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:54:34 +0000 (09:54 -0800)
commit533c6734992022159c3b0d1508c6931d82630b13
tree9de31e950b065965bccce0855ff4297f9cea3422
parentc5432756f10792f548d9365481564cf821d48651
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