Skip to content

Commit ac45d74

Browse files
committed
Do not log GetCapacity requests
These are run periodically and not particularly interesting.
1 parent 63c8eb4 commit ac45d74

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

bd2fs.py

-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ def CreateVolume(self, request, context):
211211
def DeleteVolume(self, request, context):
212212
return self.bds.DeleteVolume(request, context)
213213

214-
@log_grpc_request
215214
def GetCapacity(self, request, context):
216215
return self.bds.GetCapacity(request, context)
217216

rawfile_servicer.py

-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ def DeleteVolume(self, request, context):
222222
raise exc
223223
return csi_pb2.DeleteVolumeResponse()
224224

225-
@log_grpc_request
226225
def GetCapacity(self, request, context):
227226
return csi_pb2.GetCapacityResponse(
228227
available_capacity=get_capacity(),

0 commit comments

Comments
 (0)