]> git.proxmox.com Git - pve-common.git/commitdiff
switch to using Proxmox::RS::CalendarEvent
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 1 Mar 2022 14:55:49 +0000 (15:55 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 17 Mar 2022 13:01:31 +0000 (14:01 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
debian/control
src/PVE/CalendarEvent.pm

index a6cf0903ec665eee47a2b2bcbb2eba747920a7af..ce6a28e8d82aceaa01f1269aaf84003c15838556 100644 (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,
index e2bf53ad5b2d1561a8f6e118c3c0238e0140b071..2ca5df1eb643781a585b2a262707eb14a1366243 100644 (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 {