Skip to content

Commit

Permalink
feat: save correct resource usage data to the db
Browse files Browse the repository at this point in the history
Signed-off-by: Mauran <[email protected]>
  • Loading branch information
sea-gull-diana authored and thomas-mauran committed Sep 1, 2023
1 parent f857278 commit 06d665a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controller/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion controller/src/routes/instances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 06d665a

Please sign in to comment.