proxmox-systemd: remove crate, use new proxmox-time 1.1.0 instead
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
@ -431,7 +431,7 @@ pub fn send_tape_backup_status(
|
||||
) -> Result<(), Error> {
|
||||
|
||||
let (fqdn, port) = get_server_url();
|
||||
let duration: proxmox_systemd::time::TimeSpan = summary.duration.into();
|
||||
let duration: proxmox_time::TimeSpan = summary.duration.into();
|
||||
let mut data = json!({
|
||||
"job": job,
|
||||
"fqdn": fqdn,
|
||||
|
@ -46,7 +46,7 @@ use proxmox::tools::fs::{
|
||||
create_path, file_read_optional_string, replace_file, CreateOptions,
|
||||
};
|
||||
|
||||
use proxmox_systemd::time::{compute_next_event, parse_calendar_event};
|
||||
use proxmox_time::{compute_next_event, parse_calendar_event};
|
||||
|
||||
use pbs_buildcfg::PROXMOX_BACKUP_STATE_DIR_M;
|
||||
use pbs_config::{open_backup_lockfile, BackupLockGuard};
|
||||
|
Reference in New Issue
Block a user