mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-11 00:06:06 +00:00
nits and fix
This commit is contained in:
@@ -37,7 +37,7 @@ use windmill_common::auth::JobPerms;
|
||||
use windmill_common::bench::BenchmarkIter;
|
||||
use windmill_common::lockfiles::is_generated_from_raw_requirements;
|
||||
use windmill_common::jobs::{JobTriggerKind, EMAIL_ERROR_HANDLER_USER_EMAIL};
|
||||
use windmill_common::triggers::TriggerInfo;
|
||||
use windmill_common::triggers::TriggerMetadata;
|
||||
use windmill_common::utils::{configure_client, now_from_db};
|
||||
use windmill_common::worker::{Connection, MIN_VERSION_SUPPORTS_DEBOUNCING, SCRIPT_TOKEN_EXPIRY};
|
||||
|
||||
@@ -3887,7 +3887,7 @@ pub async fn push<'c, 'd>(
|
||||
// If we know there is already a debounce job, we can use this for debouncing.
|
||||
// NOTE: Only works with dependency jobs triggered by relative imports
|
||||
debounce_job_id_o: Option<Uuid>,
|
||||
trigger: Option<TriggerInfo>,
|
||||
trigger: Option<TriggerMetadata>,
|
||||
) -> Result<(Uuid, Transaction<'c, Postgres>), Error> {
|
||||
#[cfg(feature = "cloud")]
|
||||
if *CLOUD_HOSTED {
|
||||
|
||||
@@ -24,7 +24,7 @@ use windmill_common::jobs::JobPayload;
|
||||
use windmill_common::jobs::JobTriggerKind;
|
||||
use windmill_common::schedule::schedule_to_user;
|
||||
use windmill_common::scripts::ScriptHash;
|
||||
use windmill_common::triggers::TriggerInfo;
|
||||
use windmill_common::triggers::TriggerMetadata;
|
||||
use windmill_common::utils::WarnAfterExt;
|
||||
use windmill_common::worker::to_raw_value;
|
||||
use windmill_common::FlowVersionInfo;
|
||||
@@ -502,7 +502,7 @@ pub async fn push_scheduled_job<'c>(
|
||||
false,
|
||||
None,
|
||||
None,
|
||||
Some(TriggerInfo::new(
|
||||
Some(TriggerMetadata::new(
|
||||
Some(schedule.path.clone()),
|
||||
JobTriggerKind::Schedule,
|
||||
)),
|
||||
|
||||
Reference in New Issue
Block a user