diff options
| author | Thierry Carrez <thierry@openstack.org> | 2011-06-10 16:53:06 +0200 |
|---|---|---|
| committer | Thierry Carrez <thierry@openstack.org> | 2011-06-10 16:53:06 +0200 |
| commit | febb7130192afcc77408643b5bba595c784671d3 (patch) | |
| tree | 01b02f64e8035c223ca33b54722a7bf01529f684 /nova/api | |
| parent | 50c9ebfdc00a87d1a37a11501e5678de89e25a4f (diff) | |
Only update updateable fields
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/cloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py index 316298c39..4a2387a0a 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -967,7 +967,7 @@ class CloudController(object): changes[field] = kwargs[field] if changes: instance_id = ec2utils.ec2_id_to_id(instance_id) - self.compute_api.update(context, instance_id=instance_id, **kwargs) + self.compute_api.update(context, instance_id=instance_id, **changes) return True @staticmethod |
