mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-10 15:16:56 +00:00
fix: 优化endpoint
This commit is contained in:
@@ -35,7 +35,7 @@ pub fn check_local_server_addr(server_addr: &str) -> Result<SocketAddr> {
|
||||
}
|
||||
}
|
||||
|
||||
return Err(Error::from_string("host in server address should be this server"));
|
||||
Err(Error::from_string("host in server address should be this server"))
|
||||
}
|
||||
|
||||
pub fn split_host_port(s: &str) -> Result<(String, u16)> {
|
||||
|
||||
Reference in New Issue
Block a user