diff options
| author | Chuck Short <chuck.short@canonical.com> | 2012-08-01 13:03:15 -0500 |
|---|---|---|
| committer | Chuck Short <chuck.short@canonical.com> | 2012-08-01 13:09:58 -0500 |
| commit | 46e2c8a575fecc55a896632029d5db6b5bd7b112 (patch) | |
| tree | 63741d1358c25cd1cf9994179e15f99accf91e1f /nova/tests | |
| parent | 3a5ea16bec06fceddfe06af343ee505cfc419a1b (diff) | |
Fix traceback when using s3.
Fix a regression that causes tracebacks in s3
Traceback (most recent call last):
File "/opt/stack/nova/nova/image/s3.py", line 294, in delayed_create
_update_image_state(context, image_uuid, 'downloading')
File "/opt/stack/nova/nova/image/s3.py", line 286, in _update_image_state
headers)
TypeError: update() takes at most 5 arguments (6 given)
This is due to 6e4539f397bfc5dbf9ec88ddc3968621815d576b
Fixes LP: #1031867
Change-Id: I6cf786999c623c0ca780a173dcba49354207e9c3
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/glance/stubs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/glance/stubs.py b/nova/tests/glance/stubs.py index 4811169fc..b3cef0ff3 100644 --- a/nova/tests/glance/stubs.py +++ b/nova/tests/glance/stubs.py @@ -69,7 +69,7 @@ class StubGlanceClient(object): return self.images[-1] - def update_image(self, image_id, metadata, data): + def update_image(self, image_id, metadata, data, features): for i, image in enumerate(self.images): if image['id'] == str(image_id): if 'id' in metadata: |
