rename pbs-systemd to proxmox-systemd

This commit is contained in:
Dietmar Maurer
2021-09-21 09:33:51 +02:00
committed by Thomas Lamprecht
parent 48109c5354
commit 84af82e8cf
26 changed files with 41 additions and 41 deletions

View File

@ -5,7 +5,7 @@
use std::path::PathBuf;
use anyhow::Error;
use pbs_systemd::time::parse_time_span;
use proxmox_systemd::time::parse_time_span;
use pbs_api_types::{RetentionPolicy, MediaSetPolicy};
use crate::tape::{Inventory, MediaPool};

View File

@ -102,8 +102,8 @@ fn test_media_expire_time() -> Result<(), Error> {
let sl2= MediaSetLabel::with_data("p1", Uuid::generate(), 0, ctime + 120, None);
let tape2_uuid = inventory.generate_used_tape("tape2", sl2, 0);
let event = pbs_systemd::time::parse_calendar_event("*:0/2")?;
let span = pbs_systemd::time::parse_time_span("120 seconds")?;
let event = proxmox_systemd::time::parse_calendar_event("*:0/2")?;
let span = proxmox_systemd::time::parse_time_span("120 seconds")?;
let pool = MediaPool::new(
"p1",