remove unused Data::Dumper usages

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2018-07-11 12:11:40 +02:00
parent 3da6c49083
commit 074b2cb4fa
7 changed files with 10 additions and 8 deletions

View File

@ -2,9 +2,9 @@ package PVE::Storage::DRBDPlugin;
use strict;
use warnings;
use IO::File;
use Net::DBus;
use Data::Dumper;
use PVE::Tools qw(run_command trim);
use PVE::INotify;

View File

@ -2,8 +2,9 @@ package PVE::Storage::LVMPlugin;
use strict;
use warnings;
use Data::Dumper;
use IO::File;
use PVE::Tools qw(run_command trim);
use PVE::Storage::Plugin;
use PVE::JSONSchema qw(get_standard_option);

View File

@ -2,9 +2,9 @@ package PVE::Storage::LunCmd::Comstar;
use strict;
use warnings;
use Digest::MD5 qw(md5_hex);
use PVE::Tools qw(run_command file_read_firstline trim dir_glob_regex dir_glob_foreach);
use Data::Dumper;
my @ssh_opts = ('-o', 'BatchMode=yes');
my @ssh_cmd = ('/usr/bin/ssh', @ssh_opts);

View File

@ -15,8 +15,8 @@ package PVE::Storage::LunCmd::Iet;
use strict;
use warnings;
use PVE::Tools qw(run_command file_read_firstline trim dir_glob_regex dir_glob_foreach);
use Data::Dumper;
sub get_base;

View File

@ -6,8 +6,8 @@ package PVE::Storage::LunCmd::Istgt;
use strict;
use warnings;
use PVE::Tools qw(run_command file_read_firstline trim dir_glob_regex dir_glob_foreach);
use Data::Dumper;
my @CONFIG_FILES = (
'/usr/local/etc/istgt/istgt.conf', # FreeBSD, FreeNAS

View File

@ -2,8 +2,9 @@ package PVE::Storage::LvmThinPlugin;
use strict;
use warnings;
use Data::Dumper;
use IO::File;
use PVE::Tools qw(run_command trim);
use PVE::Storage::Plugin;
use PVE::Storage::LVMPlugin;

View File

@ -2,14 +2,14 @@ package PVE::Storage::Plugin;
use strict;
use warnings;
use File::chdir;
use File::Path;
use PVE::Tools qw(run_command);
use PVE::JSONSchema qw(get_standard_option);
use PVE::Cluster qw(cfs_register_file);
use Data::Dumper;
use base qw(PVE::SectionConfig);
our @COMMON_TAR_FLAGS = qw(