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:56:08 +0000 (09:56 -0800)
commit54418a0f1722e5b8a464907895b29c736ded9f0f
tree20c9427358d28dd26e2763b3123be81437b14c44
parentf97d4429112f20043f8406d65839d540e6e28b33
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