From 162ab4f48e573662824872da56aecbef05ba94f0 Mon Sep 17 00:00:00 2001 From: Mark Washenberger Date: Thu, 5 Jan 2012 18:15:29 -0500 Subject: Use instance_properties in resize. This just makes resize behave a bit more like create, which is useful for custom filtering. Change-Id: I10ba726712d8f601f5ee97e0bb033bd7339a7a88 --- nova/compute/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/compute') diff --git a/nova/compute/api.py b/nova/compute/api.py index 70e9876ae..13136079c 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -1317,7 +1317,7 @@ class API(base.Base): 'instance_type': new_instance_type, 'filter': None, 'num_instances': 1, - 'original_host': instance['host'], + 'instance_properties': instance, 'avoid_original_host': not FLAGS.allow_resize_to_same_host, 'local_zone': True, } -- cgit