Small code cleanup, getting ready to convert runner to a separate process
This commit is contained in:
parent
d4ae655b4e
commit
1201e93169
+1
-1
@@ -3,7 +3,7 @@ use actix_web::{error, middleware::Logger, web, App, HttpResponse, HttpServer, R
|
||||
use clap::Parser;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use tokio::sync::{mpsc, oneshot};
|
||||
use tokio::sync::mpsc;
|
||||
use waterfall::prelude::*;
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
||||
+1
-3
@@ -4,14 +4,12 @@ use actix_cors::Cors;
|
||||
use actix_web::{error, middleware::Logger, web, App, HttpResponse, HttpServer, Responder};
|
||||
use clap::Parser;
|
||||
use serde::Serialize;
|
||||
use tokio::sync::{mpsc, oneshot};
|
||||
use tokio::sync::oneshot;
|
||||
|
||||
use config::*;
|
||||
use waterfall::executors::agent_executor::TaskSubmission;
|
||||
use waterfall::prelude::*;
|
||||
|
||||
type TaskDetails = serde_json::Value;
|
||||
|
||||
#[derive(Serialize)]
|
||||
struct SimpleError {
|
||||
error: String,
|
||||
|
||||
Reference in New Issue
Block a user