bay-create does not need ctxt on the rpcapi side
The rpcapi client does not need ctxt. the rpcapi delivery will generate a context automatically via the RPC subsystem. Change-Id: Iac1e8937a24db193db94cf20307fdabba408037f
This commit is contained in:
parent
a264393cd0
commit
7cb3897ac5
@ -45,8 +45,8 @@ class API(rpc_service.API):
|
|||||||
|
|
||||||
# Bay Operations
|
# Bay Operations
|
||||||
|
|
||||||
def bay_create(self, ctxt, bay):
|
def bay_create(self, bay):
|
||||||
return self._call('bay_create', ctxt=ctxt, bay=bay)
|
return self._call('bay_create', bay=bay)
|
||||||
|
|
||||||
def bay_list(self, context, limit, marker, sort_key, sort_dir):
|
def bay_list(self, context, limit, marker, sort_key, sort_dir):
|
||||||
return objects.Bay.list(context, limit, marker, sort_key, sort_dir)
|
return objects.Bay.list(context, limit, marker, sort_key, sort_dir)
|
||||||
|
Loading…
Reference in New Issue
Block a user