upid: use systemd escape to decode/encode the worker_id
This way we can store values containing "/" and ":".
This commit is contained in:
1 parent
5eb9dd0c8a
commit
4ebda996e5
7 files changed
+22
-15
No files matched your search
@@ -628,7 +628,7 @@ async fn schedule_task_log_rotate() {
|
||||
parse_calendar_event, compute_next_event};
|
||||
|
||||
let worker_type = "logrotate";
|
||||
let job_id = "task-archive";
|
||||
let job_id = "task_archive";
|
||||
|
||||
let last = match jobstate::last_run_time(worker_type, job_id) {
|
||||
Ok(time) => time,
|
||||
|
||||
Reference in new issue
Block a user