summaryrefslogtreecommitdiffstats
path: root/nova/context.py
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-03-10 13:12:27 -0500
committerRussell Bryant <rbryant@redhat.com>2012-03-13 11:26:39 -0400
commita3a7464a8de96e219f40049fdd03b41cb8eb65ca (patch)
tree319c92c4db3b0275841541f21874b9b1007efbc6 /nova/context.py
parent777852191aa9bad3297ab3fe48701e8ec5266d17 (diff)
downloadnova-a3a7464a8de96e219f40049fdd03b41cb8eb65ca.tar.gz
nova-a3a7464a8de96e219f40049fdd03b41cb8eb65ca.tar.xz
nova-a3a7464a8de96e219f40049fdd03b41cb8eb65ca.zip
Sort results from describe_instances in EC2 API.
Fix bug 827619. This bug pointed out that EC2 sorts the results of of describe_instances by the launch time. Make our implementation of the EC2 API behave the same way. Previously, instances coming out of the db API were sorted by the key we wanted, but in the opposite order. You can now specify both a sort key and order. The behavior is the same by default, but the EC2 API sets the parameter to do an ascending sort. Change-Id: Ifd0bc79ad4c4c8c45809dbb1ac2dadf8abcfd4c3
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions