switch to using Proxmox::RS::CalendarEvent

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-03-01 15:55:49 +01:00 committed by Thomas Lamprecht
parent 2f85ab8fde
commit 4656d14a4b
2 changed files with 3 additions and 2 deletions

1
debian/control vendored
View File

@ -31,6 +31,7 @@ Depends: libclone-perl,
libnet-ip-perl,
libnetaddr-ip-perl,
libproxmox-acme-perl,
libproxmox-rs-perl,
libstring-shellquote-perl,
libtimedate-perl,
liburi-perl,

View File

@ -6,7 +6,7 @@ use Data::Dumper;
use Time::Local;
use PVE::JSONSchema;
use PVE::Tools qw(trim);
use PVE::RS::CalendarEvent;
use Proxmox::RS::CalendarEvent;
# Note: This class implements a parser/utils for systemd like calendar exents
# Date specification is currently not implemented
@ -44,7 +44,7 @@ sub parse_calendar_event {
die "unable to parse calendar event - event is empty\n";
}
return PVE::RS::CalendarEvent->new($event);
return Proxmox::RS::CalendarEvent->new($event);
}
sub compute_next_event {