Remove ctxt from rpcapi for pod create

the rpcapi does not need ctxt for pod create.  This results in an error
creating the POD complaining about incorrect number of parameters.

Change-Id: I98adb0c68fbcc527cd012ff353e4fd831297658b
This commit is contained in:
Steven Dake 2015-01-04 20:49:59 -07:00
parent 7cb3897ac5
commit 5d20742212
1 changed files with 2 additions and 2 deletions

View File

@ -75,8 +75,8 @@ class API(rpc_service.API):
# Pod Operations
def pod_create(self, ctxt, pod):
return self._call('pod_create', ctxt=ctxt, pod=pod)
def pod_create(self, pod):
return self._call('pod_create', pod=pod)
def pod_list(self, context, limit, marker, sort_key, sort_dir):
return objects.Pod.list(context, limit, marker, sort_key, sort_dir)