diff options
| author | Mark Washenberger <mark.washenberger@rackspace.com> | 2012-01-05 18:15:29 -0500 |
|---|---|---|
| committer | Mark Washenberger <mark.washenberger@rackspace.com> | 2012-01-05 18:15:29 -0500 |
| commit | 162ab4f48e573662824872da56aecbef05ba94f0 (patch) | |
| tree | e636e60294b91b87d3f53f432c8582463211efe5 /nova/compute | |
| parent | dcf5fe4d9307c0d477fb8c48df74a812244d8b97 (diff) | |
Use instance_properties in resize.
This just makes resize behave a bit more like create, which is useful
for custom filtering.
Change-Id: I10ba726712d8f601f5ee97e0bb033bd7339a7a88
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, } |
