forked from herocode/horus
fix: rename overview.md files to avoid conflicts and add collection name
This commit is contained in:
@@ -135,8 +135,6 @@ pub struct RunnerCreate {
|
||||
pub pubkey: String,
|
||||
pub address: IpAddr,
|
||||
pub topic: String,
|
||||
/// The executor this runner can handle (e.g., "python", "rhai")
|
||||
pub executor: String,
|
||||
pub local: bool,
|
||||
/// Optional secret used for authenticated supervisor calls (if required)
|
||||
pub secret: Option<String>,
|
||||
@@ -150,7 +148,6 @@ impl RunnerCreate {
|
||||
pubkey,
|
||||
address,
|
||||
topic,
|
||||
executor,
|
||||
local,
|
||||
secret,
|
||||
} = self;
|
||||
@@ -160,7 +157,6 @@ impl RunnerCreate {
|
||||
pubkey,
|
||||
address,
|
||||
topic,
|
||||
executor,
|
||||
local,
|
||||
secret,
|
||||
created_at: ts,
|
||||
@@ -211,7 +207,6 @@ pub struct JobCreate {
|
||||
pub context_id: u32,
|
||||
pub script: String,
|
||||
pub runner: Option<String>,
|
||||
pub executor: Option<String>,
|
||||
pub timeout: u32,
|
||||
pub retries: u8,
|
||||
pub env_vars: HashMap<String, String>,
|
||||
@@ -231,7 +226,6 @@ impl JobCreate {
|
||||
context_id: self.context_id.to_string(),
|
||||
payload: self.script,
|
||||
runner: self.runner.unwrap_or_else(|| "default-runner".to_string()),
|
||||
executor: self.executor.unwrap_or_else(|| "python".to_string()),
|
||||
timeout: self.timeout as u64,
|
||||
env_vars: self.env_vars,
|
||||
created_at: Utc::now(),
|
||||
|
||||
Reference in New Issue
Block a user