Make logs less noisy
This commit is contained in:
parent
6fde8e0271
commit
a2cf384d4f
@ -42,7 +42,7 @@ class RawFileIdentityServicer(csi_pb2_grpc.IdentityServicer):
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
@log_grpc_request
|
# @log_grpc_request
|
||||||
def Probe(self, request, context):
|
def Probe(self, request, context):
|
||||||
return csi_pb2.ProbeResponse(ready=BoolValue(value=True))
|
return csi_pb2.ProbeResponse(ready=BoolValue(value=True))
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ class RawFileNodeServicer(csi_pb2_grpc.NodeServicer):
|
|||||||
def __init__(self, node_name):
|
def __init__(self, node_name):
|
||||||
self.node_name = node_name
|
self.node_name = node_name
|
||||||
|
|
||||||
@log_grpc_request
|
# @log_grpc_request
|
||||||
def NodeGetCapabilities(self, request, context):
|
def NodeGetCapabilities(self, request, context):
|
||||||
Cap = csi_pb2.NodeServiceCapability
|
Cap = csi_pb2.NodeServiceCapability
|
||||||
return csi_pb2.NodeGetCapabilitiesResponse(
|
return csi_pb2.NodeGetCapabilitiesResponse(
|
||||||
@ -108,7 +108,7 @@ class RawFileNodeServicer(csi_pb2_grpc.NodeServicer):
|
|||||||
detach_loops(img_file)
|
detach_loops(img_file)
|
||||||
return csi_pb2.NodeUnstageVolumeResponse()
|
return csi_pb2.NodeUnstageVolumeResponse()
|
||||||
|
|
||||||
@log_grpc_request
|
# @log_grpc_request
|
||||||
def NodeGetVolumeStats(self, request, context):
|
def NodeGetVolumeStats(self, request, context):
|
||||||
volume_id = request.volume_id
|
volume_id = request.volume_id
|
||||||
stats = volume_stats(volume_id)
|
stats = volume_stats(volume_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user