undo needless change
This commit is contained in:
parent
395f942fc7
commit
298e956a19
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue