diff options
| author | Josh Durgin <joshd@hq.newdream.net> | 2011-09-14 12:33:51 -0700 |
|---|---|---|
| committer | Josh Durgin <joshd@hq.newdream.net> | 2011-09-14 12:33:51 -0700 |
| commit | cecc822c0bc10c8d5cc5168329ae04172c6e609e (patch) | |
| tree | 115f09d0764fe7e43ceda0168d287d665ee36774 /nova/api | |
| parent | 49df5238f7a25ed9b09f1f1ffe10b1b845cf29c3 (diff) | |
| download | nova-cecc822c0bc10c8d5cc5168329ae04172c6e609e.tar.gz nova-cecc822c0bc10c8d5cc5168329ae04172c6e609e.tar.xz nova-cecc822c0bc10c8d5cc5168329ae04172c6e609e.zip | |
Use the correct method to get a builder.
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/contrib/volumes.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/api/openstack/contrib/volumes.py b/nova/api/openstack/contrib/volumes.py index d62225e58..9d4254f1f 100644 --- a/nova/api/openstack/contrib/volumes.py +++ b/nova/api/openstack/contrib/volumes.py @@ -372,8 +372,7 @@ class BootFromVolumeController(servers.ControllerV11): for key in ['instance_type', 'image_ref']: inst[key] = extra_values[key] - builder = self._get_view_builder(req) - server = builder.build(inst, is_detail=True) + server = self._build_view(req, inst, is_detail=True) server['server']['adminPass'] = extra_values['password'] return server |
