Fix conductor to *really* pass the Spec obj

So, we missed the fact that we were blocking the conductor API to pass
the RequestSpec object down to the wire because we arbitrarely set
the argument to None anyway.

Change-Id: I6f3dfd6acaf51b2aacaa61973b47f60dad87159e
This commit is contained in:
Sylvain Bauza 2016-02-24 10:20:32 +01:00
parent 54679e3dec
commit d47e659b9d
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class ComputeTaskAPI(object):
def unshelve_instance(self, context, instance, request_spec=None):
self.conductor_compute_rpcapi.unshelve_instance(context,
instance=instance, request_spec=None)
instance=instance, request_spec=request_spec)
def rebuild_instance(self, context, instance, orig_image_ref, image_ref,
injected_files, new_pass, orig_sys_metadata,