making linters happy
Some checks failed
CI / Rust Blocking Checks (push) Failing after 22s
CI / Web Blocking Checks (push) Failing after 26s
CI / Security Blocking Checks (push) Successful in 9s
CI / Web Advisory Checks (push) Successful in 32s
CI / Security Advisory Checks (push) Has been cancelled
Some checks failed
CI / Rust Blocking Checks (push) Failing after 22s
CI / Web Blocking Checks (push) Failing after 26s
CI / Security Blocking Checks (push) Successful in 9s
CI / Web Advisory Checks (push) Successful in 32s
CI / Security Advisory Checks (push) Has been cancelled
This commit is contained in:
@@ -546,7 +546,7 @@ mod tests {
|
||||
let manager = TimerManager::new(api_client).await.unwrap();
|
||||
|
||||
// Test various valid cron expressions
|
||||
let expressions = vec![
|
||||
let expressions = [
|
||||
"0 0 * * * *", // Every hour
|
||||
"0 */15 * * * *", // Every 15 minutes
|
||||
"0 0 0 * * *", // Daily at midnight
|
||||
|
||||
@@ -150,6 +150,7 @@ impl TimerConfig {
|
||||
/// Rule lifecycle event types
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[serde(tag = "event_type", rename_all = "PascalCase")]
|
||||
#[allow(clippy::enum_variant_names)]
|
||||
pub enum RuleLifecycleEvent {
|
||||
RuleCreated {
|
||||
rule_id: i64,
|
||||
|
||||
Reference in New Issue
Block a user