use result
This commit is contained in:
@@ -98,6 +98,7 @@ impl<'a> OSSClient<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
// https://endpoint, or http://endpoint -> endpoint
|
||||
fn remove_endpoint_http_or_s(endpoint: &str) -> String {
|
||||
let mut endpoint = endpoint.to_owned();
|
||||
if endpoint.starts_with("http://") {
|
||||
|
||||
Reference in New Issue
Block a user