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:55:03 +0000 (09:55 -0800)
commit7811169736150c2438f21f589a8d94a422a6e224
tree951258ad0e27adffaa1f1e6d86dcb60eaf346e3b
parent050f7d606cfc85d26df72bb7ff2eafb8ef91aca4
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