boto/boto — pull request #462 by a13m (2012-01-05 22:57:48+00:00)
Title: Add a sanity check for Volume.update()

In recent testing, I found that Eucalyptus 2 did not honor having a volume id passed to DescribeVolumes. It accepts the request, but always returns all volumes. Since boto blindly takes the first element from the list of volumes returned, this means that calling update() on a volume object can completely change which volume is being referenced by the object. This patch changes the behavior, so that only data for the volume id requested will be used.