From ac45d74b7c2090a6bfb4a25cffba581128af3578 Mon Sep 17 00:00:00 2001 From: Mehran Kholdi Date: Fri, 19 Nov 2021 19:25:25 +0330 Subject: [PATCH] Do not log `GetCapacity` requests These are run periodically and not particularly interesting. --- bd2fs.py | 1 - rawfile_servicer.py | 1 - 2 files changed, 2 deletions(-) diff --git a/bd2fs.py b/bd2fs.py index b2f6314..99db366 100644 --- a/bd2fs.py +++ b/bd2fs.py @@ -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) diff --git a/rawfile_servicer.py b/rawfile_servicer.py index 378c863..869fcbf 100644 --- a/rawfile_servicer.py +++ b/rawfile_servicer.py @@ -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(),