[pve-devel] partially-applied: [PATCH cluster] notify: use renamed Proxmox::RS::Notify

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Jul 24 15:02:59 CEST 2023


applied this one as well now, thanks

Also updated the dependency versions in d/control (and added the
versioned libproxmox-rs-perl dependency since `Proxmox::RS::Notify`
comes from there).

On Mon, Jul 24, 2023 at 01:26:58PM +0200, Lukas Wagner wrote:
> Suggested-by: Wolfgang Bugmiller <w.bumiller at proxmox.com>
> Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
> ---
>  src/PVE/Notify.pm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/PVE/Notify.pm b/src/PVE/Notify.pm
> index 48ef772..0464362 100644
> --- a/src/PVE/Notify.pm
> +++ b/src/PVE/Notify.pm
> @@ -4,7 +4,7 @@ use strict;
>  use warnings;
>  
>  use PVE::Cluster qw(cfs_register_file cfs_read_file cfs_lock_file cfs_write_file);
> -use PVE::RS::Notify;
> +use Proxmox::RS::Notify;
>  
>  cfs_register_file(
>      'notifications.cfg',
> @@ -46,7 +46,7 @@ sub read_config {
>      my $config = cfs_read_file('notifications.cfg');
>      my $priv_config = cfs_read_file('priv/notifications.cfg');
>  
> -    my $notification_config = PVE::RS::Notify->parse_config($config, $priv_config);
> +    my $notification_config = Proxmox::RS::Notify->parse_config($config, $priv_config);
>  
>      eval {
>  	# This target should always be available...
> -- 
> 2.39.2
> 





More information about the pve-devel mailing list