Skip to content

Commit

Permalink
Do not log GetCapacity requests
Browse files Browse the repository at this point in the history
These are run periodically and not particularly interesting.
  • Loading branch information
semekh committed Nov 19, 2021
1 parent 63c8eb4 commit ac45d74
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion bd2fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ def CreateVolume(self, request, context):
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)

Expand Down
1 change: 0 additions & 1 deletion rawfile_servicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ def DeleteVolume(self, request, context):
raise exc
return csi_pb2.DeleteVolumeResponse()

@log_grpc_request
def GetCapacity(self, request, context):
return csi_pb2.GetCapacityResponse(
available_capacity=get_capacity(),
Expand Down

0 comments on commit ac45d74

Please sign in to comment.