Do not log GetCapacity
requests
These are run periodically and not particularly interesting.
This commit is contained in:
parent
63c8eb44ba
commit
ac45d74b7c
1
bd2fs.py
1
bd2fs.py
@ -211,7 +211,6 @@ class Bd2FsControllerServicer(csi_pb2_grpc.ControllerServicer):
|
|||||||
def DeleteVolume(self, request, context):
|
def DeleteVolume(self, request, context):
|
||||||
return self.bds.DeleteVolume(request, context)
|
return self.bds.DeleteVolume(request, context)
|
||||||
|
|
||||||
@log_grpc_request
|
|
||||||
def GetCapacity(self, request, context):
|
def GetCapacity(self, request, context):
|
||||||
return self.bds.GetCapacity(request, context)
|
return self.bds.GetCapacity(request, context)
|
||||||
|
|
||||||
|
@ -222,7 +222,6 @@ class RawFileControllerServicer(csi_pb2_grpc.ControllerServicer):
|
|||||||
raise exc
|
raise exc
|
||||||
return csi_pb2.DeleteVolumeResponse()
|
return csi_pb2.DeleteVolumeResponse()
|
||||||
|
|
||||||
@log_grpc_request
|
|
||||||
def GetCapacity(self, request, context):
|
def GetCapacity(self, request, context):
|
||||||
return csi_pb2.GetCapacityResponse(
|
return csi_pb2.GetCapacityResponse(
|
||||||
available_capacity=get_capacity(),
|
available_capacity=get_capacity(),
|
||||||
|
Loading…
Reference in New Issue
Block a user