undo needless change

This commit is contained in:
Alex 2022-09-13 12:48:54 +02:00
parent 395f942fc7
commit 298e956a19
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE

View file

@ -132,7 +132,7 @@ impl ServerConn {
let handler_opt = {
let endpoints = self.netapp.endpoints.read().unwrap();
endpoints.get(&path[..]).map(|e| e.clone_endpoint())
endpoints.get(&path).map(|e| e.clone_endpoint())
};
if let Some(handler) = handler_opt {