mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-28 09:08:58 +00:00
@@ -64,7 +64,6 @@ pin-project-lite.workspace = true
|
||||
md-5.workspace = true
|
||||
madmin.workspace = true
|
||||
workers.workspace = true
|
||||
madmin.workspace = true
|
||||
|
||||
[target.'cfg(not(windows))'.dependencies]
|
||||
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
use std::{collections::HashMap, io::Cursor, time::SystemTime};
|
||||
|
||||
use crate::{
|
||||
admin_server_info::ServerProperties, endpoints::EndpointServerPools, global::is_dist_erasure,
|
||||
heal::heal_commands::BgHealState, store_api::StorageInfo,
|
||||
admin_server_info::ServerProperties,
|
||||
endpoints::EndpointServerPools,
|
||||
global::is_dist_erasure,
|
||||
heal::heal_commands::BgHealState,
|
||||
metrics_realtime::{CollectMetricsOpts, MetricType},
|
||||
store_api::StorageInfo,
|
||||
};
|
||||
use common::error::{Error, Result};
|
||||
use madmin::{
|
||||
|
||||
+3
-9
@@ -14,10 +14,8 @@ use ecstore::{
|
||||
},
|
||||
erasure::Writer,
|
||||
heal::{
|
||||
|
||||
data_usage_cache::DataUsageCache,
|
||||
|
||||
heal_commands::{get_local_background_heal_status, {get_local_background_heal_status, HealOpts},
|
||||
heal_commands::{get_local_background_heal_status, HealOpts},
|
||||
},
|
||||
metrics_realtime::{collect_local_metrics, CollectMetricsOpts, MetricType},
|
||||
new_object_layer_fn,
|
||||
@@ -29,12 +27,8 @@ use futures::{Stream, StreamExt};
|
||||
use lock::{lock_args::LockArgs, Locker, GLOBAL_LOCAL_SERVER};
|
||||
|
||||
use common::globals::GLOBAL_Local_Node_Name;
|
||||
use madmin::net::get_net_info;
|
||||
use madmin::{
|
||||
health::{
|
||||
get_cpus, get_mem_info, get_os_info, get_partitions, get_proc_info, get_sys_config, get_sys_errors, get_sys_services,
|
||||
},
|
||||
metrics::{collect_local_metrics, CollectMetricsOpts},
|
||||
use madmin::health::{
|
||||
get_cpus, get_mem_info, get_os_info, get_partitions, get_proc_info, get_sys_config, get_sys_errors, get_sys_services,
|
||||
};
|
||||
use madmin::net::get_net_info;
|
||||
use protos::{
|
||||
|
||||
@@ -14,7 +14,6 @@ use ecstore::utils::net::{self, get_available_port};
|
||||
use ecstore::{
|
||||
endpoints::EndpointServerPools,
|
||||
heal::data_scanner::init_data_scanner,
|
||||
notification_sys::new_global_notification_sys,
|
||||
set_global_endpoints,
|
||||
store::{init_local_disks, ECStore},
|
||||
update_erasure_type,
|
||||
|
||||
Reference in New Issue
Block a user