Do not log GetCapacity requests

These are run periodically and not particularly interesting.
This commit is contained in:
Mehran Kholdi 2021-11-19 19:25:25 +03:30
parent 63c8eb44ba
commit ac45d74b7c
2 changed files with 0 additions and 2 deletions

View File

@ -211,7 +211,6 @@ class Bd2FsControllerServicer(csi_pb2_grpc.ControllerServicer):
def DeleteVolume(self, request, context):
return self.bds.DeleteVolume(request, context)
@log_grpc_request
def GetCapacity(self, request, context):
return self.bds.GetCapacity(request, context)

View File

@ -222,7 +222,6 @@ class RawFileControllerServicer(csi_pb2_grpc.ControllerServicer):
raise exc
return csi_pb2.DeleteVolumeResponse()
@log_grpc_request
def GetCapacity(self, request, context):
return csi_pb2.GetCapacityResponse(
available_capacity=get_capacity(),