summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-08-01 12:18:33 -0400
committerRussell Bryant <rbryant@redhat.com>2012-08-01 12:22:53 -0400
commit48572c4af3f6c41d31bd77797ebd3dd25fbbc36a (patch)
treea6f03468e898d82fc2311697569665930ff0f4bd /nova/openstack
parent9893c3eb5794e689736e881ec0551bdfeda48d8f (diff)
downloadnova-48572c4af3f6c41d31bd77797ebd3dd25fbbc36a.tar.gz
nova-48572c4af3f6c41d31bd77797ebd3dd25fbbc36a.tar.xz
nova-48572c4af3f6c41d31bd77797ebd3dd25fbbc36a.zip
Pass a full instance to rotate_backups().
This patch renames rotate_backups() to _rotate_backups(), as this method has never been used over rpc since it was first introduced in 75a87df739effe840e6cb39c976002e99b49c796. The name change makes it more clear that it's a private method. The change also makes it so this method takes an instance dict instead of just the instance_uuid as an argument. This is mainly for consistency with the rest of this file, where things are moving toward passing the full instance dict around instead to avoid any potential need for db access. In passing, this also fixes up some uses of instance_uuid in snapshot_instance() where instance_uuid is most likely None. Part of blueprint no-db-messaging. Change-Id: I275f71384e77eb038aa1140bbfde108b91cd2f83
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions