diff --git a/controller/src/main.rs b/controller/src/main.rs index fdda314..875817e 100644 --- a/controller/src/main.rs +++ b/controller/src/main.rs @@ -4,8 +4,8 @@ mod routes; mod store; mod types; -use store::kv_manager::DB_STORE; use orka_proto::scheduler_controller::{self, WorkloadInstance}; +use store::kv_manager::DB_STORE; use store::kv_manager::{KeyValueBatch, DB_BATCH}; use tokio::sync::mpsc; use tokio_stream::wrappers::ReceiverStream; diff --git a/controller/src/routes/instances.rs b/controller/src/routes/instances.rs index 3992a2d..dcc8e40 100644 --- a/controller/src/routes/instances.rs +++ b/controller/src/routes/instances.rs @@ -7,7 +7,7 @@ use crate::types::instance_request::InstanceRequest; use crate::types::instance_status::InstanceStatus; use axum::extract::Path; use axum::Json; -use log::{trace, warn, error}; +use log::{error, trace, warn}; use orka_proto::scheduler_controller::{SchedulingRequest, Workload, WorkloadInstance}; use serde_json::{self, json, Value}; use validator::Validate;