mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-19 02:56:18 +00:00
init:store
This commit is contained in:
@@ -91,7 +91,7 @@ fn is_host_ip(ip_str: &str) -> bool {
|
||||
}
|
||||
|
||||
impl Endpoint {
|
||||
fn new(arg: &str) -> Result<Self, Error> {
|
||||
pub fn new(arg: &str) -> Result<Self, Error> {
|
||||
if is_empty_path(arg) {
|
||||
return Err(Error::msg("不支持空或根endpoint"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user