mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-03-30 11:31:39 +00:00
Removed redundant to_string call
This commit is contained in:
parent
0780fcaae6
commit
eceda541e0
@ -82,7 +82,7 @@ pub fn start_qdrant_server(path_resolver: PathResolver, is_dev:bool){
|
|||||||
|
|
||||||
if !path.exists() {
|
if !path.exists() {
|
||||||
if let Err(e) = fs::create_dir_all(&path){
|
if let Err(e) = fs::create_dir_all(&path){
|
||||||
error!(Source="Qdrant"; "The required directory to host the Qdrant database could not be created: {}", e.to_string());
|
error!(Source="Qdrant"; "The required directory to host the Qdrant database could not be created: {}", e);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
let (cert_path, key_path) =create_temp_tls_files(&path).unwrap();
|
let (cert_path, key_path) =create_temp_tls_files(&path).unwrap();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user