mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix schedules creation fail due to missing action ID
This commit is contained in:
parent
0d19f81a29
commit
a1c3e3386f
@ -341,7 +341,7 @@ class TasksManager:
|
|||||||
job_data["cron_string"],
|
job_data["cron_string"],
|
||||||
job_data["parent"],
|
job_data["parent"],
|
||||||
job_data["delay"],
|
job_data["delay"],
|
||||||
job_data["action_id"],
|
job_data.get("action_id", None),
|
||||||
)
|
)
|
||||||
|
|
||||||
# Checks to make sure some doofus didn't actually make the newly
|
# Checks to make sure some doofus didn't actually make the newly
|
||||||
@ -372,7 +372,7 @@ class TasksManager:
|
|||||||
"system"
|
"system"
|
||||||
),
|
),
|
||||||
"command": job_data["command"],
|
"command": job_data["command"],
|
||||||
"action_id": job_data["action_id"],
|
"action_id": job_data.get("action_id", None),
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
@ -399,7 +399,7 @@ class TasksManager:
|
|||||||
"system"
|
"system"
|
||||||
),
|
),
|
||||||
"command": job_data["command"],
|
"command": job_data["command"],
|
||||||
"action_id": job_data["action_id"],
|
"action_id": job_data.get("action_id", None),
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
@ -416,7 +416,7 @@ class TasksManager:
|
|||||||
"system"
|
"system"
|
||||||
),
|
),
|
||||||
"command": job_data["command"],
|
"command": job_data["command"],
|
||||||
"action_id": job_data["action_id"],
|
"action_id": job_data.get("action_id", None),
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
@ -436,7 +436,7 @@ class TasksManager:
|
|||||||
"system"
|
"system"
|
||||||
),
|
),
|
||||||
"command": job_data["command"],
|
"command": job_data["command"],
|
||||||
"action_id": job_data["action_id"],
|
"action_id": job_data.get("action_id", None),
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
@ -529,7 +529,7 @@ class TasksManager:
|
|||||||
"system"
|
"system"
|
||||||
),
|
),
|
||||||
"command": job_data["command"],
|
"command": job_data["command"],
|
||||||
"action_id": job_data["action_id"],
|
"action_id": job_data.get("action_id", None),
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
@ -553,7 +553,7 @@ class TasksManager:
|
|||||||
"system"
|
"system"
|
||||||
),
|
),
|
||||||
"command": job_data["command"],
|
"command": job_data["command"],
|
||||||
"action_id": job_data["action_id"],
|
"action_id": job_data.get("action_id", None),
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
@ -570,7 +570,7 @@ class TasksManager:
|
|||||||
"system"
|
"system"
|
||||||
),
|
),
|
||||||
"command": job_data["command"],
|
"command": job_data["command"],
|
||||||
"action_id": job_data["action_id"],
|
"action_id": job_data.get("action_id", None),
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
@ -590,7 +590,7 @@ class TasksManager:
|
|||||||
"system"
|
"system"
|
||||||
),
|
),
|
||||||
"command": job_data["command"],
|
"command": job_data["command"],
|
||||||
"action_id": job_data["action_id"],
|
"action_id": job_data.get("action_id", None),
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user