Fix segment_analytics default_http_addr import

This commit is contained in:
Fall1ngStar 2022-10-06 22:42:20 -04:00
parent 435778f328
commit d1c10d6d68
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ use tokio::sync::mpsc::{self, Receiver, Sender};
use uuid::Uuid;
use crate::analytics::Analytics;
use crate::option::default_http_addr;
use crate::routes::indexes::documents::UpdateDocumentsQuery;
use crate::Opt;

View File

@ -465,7 +465,7 @@ fn default_db_path() -> PathBuf {
PathBuf::from(DEFAULT_DB_PATH)
}
fn default_http_addr() -> String {
pub fn default_http_addr() -> String {
DEFAULT_HTTP_ADDR.to_string()
}