From: Dietmar Maurer Date: Thu, 8 Dec 2011 05:45:23 +0000 (+0100) Subject: use correct log function X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=92ea5df863b487cc09f1095f6984402f7f8c6be2;hp=643adc823549aff4023a35610a406bc68c7fff64 use correct log function --- diff --git a/Makefile b/Makefile index 1b5abad..16e6f76 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ RELEASE=2.0 VERSION=1.0 -PKGREL=9 +PKGREL=10 PACKAGE=libpve-common-perl diff --git a/data/PVE/AbstractMigrate.pm b/data/PVE/AbstractMigrate.pm index 6c6061d..3425fa1 100644 --- a/data/PVE/AbstractMigrate.pm +++ b/data/PVE/AbstractMigrate.pm @@ -42,7 +42,7 @@ sub cmd { my $logfunc = sub { my $line = shift; - logmsg('info', $line); + $self->log('info', $line); }; $self->log('info', "# " . PVE::Tools::cmd2string($cmd)); @@ -134,7 +134,7 @@ sub migrate { local $ENV{RSYNC_RSH} = join(' ', @ssh_cmd); local $SIG{INT} = $SIG{TERM} = $SIG{QUIT} = $SIG{HUP} = $SIG{PIPE} = sub { - logmsg('err', "received interrupt - delayed"); + $self->log('err', "received interrupt - delayed"); $self->{delayed_interrupt} = 1; }; diff --git a/debian/changelog b/debian/changelog index 9e66272..75c320c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libpve-common-perl (1.0-10) unstable; urgency=low + + * add helpers to implement migration + + -- Proxmox Support Team Thu, 08 Dec 2011 11:03:54 +0100 + libpve-common-perl (1.0-9) unstable; urgency=low * bug fixes for run_command()