diff --git a/control/grpc.py b/control/grpc.py index d631a19bd..78fe3b7cd 100644 --- a/control/grpc.py +++ b/control/grpc.py @@ -1617,7 +1617,9 @@ def find_namespace_and_bdev_name(self, nqn, nsid, uuid, needs_lock, err_prefix): def namespace_resize(self, request, context=None): """Resize a namespace.""" + return self.execute_grpc_function(self.namespace_resize_safe, request, context) + def namespace_resize_safe(self, request, context=None): peer_msg = self.get_peer_message(context) nsid_msg = self.get_ns_id_message(request.nsid, request.uuid) self.logger.info(f"Received request to resize namespace {nsid_msg}on {request.subsystem_nqn} to {request.new_size} MiB, context: {context}{peer_msg}")