From 566639d51898fac782587c7a37d7aae502b0e8ed Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 16 Mar 2018 13:23:47 +0100 Subject: [PATCH] cifs: use correct pluging class name --- PVE/API2/Storage/Config.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/API2/Storage/Config.pm b/PVE/API2/Storage/Config.pm index 53c2107..3b38304 100755 --- a/PVE/API2/Storage/Config.pm +++ b/PVE/API2/Storage/Config.pm @@ -189,7 +189,7 @@ __PACKAGE__->register_method ({ } # create a password file in /etc/pve/priv, # this file is used as a cert_file at mount time. - my $cred_file = PVE::Storage::cifs_set_credentials($password, $storeid) + my $cred_file = PVE::Storage::CIFSPlugin::cifs_set_credentials($password, $storeid) if $type eq 'cifs' && defined($password); eval { @@ -285,7 +285,7 @@ __PACKAGE__->register_method ({ if PVE::Storage::storage_is_used($cfg, $storeid); if ($scfg->{type} eq 'cifs') { - my $cred_file = PVE::Storage::cifs_cred_file_name($storeid); + my $cred_file = PVE::Storage::CIFSPlugin::cifs_cred_file_name($storeid); if (-f $cred_file) { unlink($cred_file) or warn "removing cifs credientials '$cred_file' failed: $!\n"; } -- 2.39.2