[pve-devel] [PATCH storage 2/6] use PVE::DataCenterConfig

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Nov 6 13:36:38 CET 2019


to make sure that the corresponding cfs_read_file works() works.

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---

Notes:
    needs dependency on libpve-cluster-perl

 PVE/Storage.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index 1a38d07..b9437c8 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -15,6 +15,7 @@ use Socket;
 
 use PVE::Tools qw(run_command file_read_firstline dir_glob_foreach $IPV6RE);
 use PVE::Cluster qw(cfs_read_file cfs_write_file cfs_lock_file);
+use PVE::DataCenterConfig;
 use PVE::Exception qw(raise_param_exc);
 use PVE::JSONSchema;
 use PVE::INotify;
-- 
2.20.1





More information about the pve-devel mailing list