Skip to content

Commit

Permalink
Update src/nfs/nfs_server_impl.h
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 authored Feb 2, 2023
1 parent 5efa902 commit 8544ba5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nfs/nfs_server_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ class nfs_service_impl : public ::dsn::serverlet<nfs_service_impl>
nfs_service_impl();
virtual ~nfs_service_impl() { _tracker.cancel_outstanding_tasks(); }

// The rpc_handler is actually registered replica_stub.cpp, which is saved here for testing
// The rpc_handler is actually registered in replica_stub in real server, keep it here is
// just for testing
void open_nfs_service_for_test()
{
register_async_rpc_handler_for_test(RPC_NFS_COPY, "copy", &nfs_service_impl::on_copy);
Expand Down

0 comments on commit 8544ba5

Please sign in to comment.