[pve-devel] [PATCH v2 guest-common 1/5] use PVE::DataCenterConfig

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Nov 11 11:28:19 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 depends on libpve-cluster-perl

 PVE/AbstractMigrate.pm | 1 +
 PVE/Replication.pm     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/PVE/AbstractMigrate.pm b/PVE/AbstractMigrate.pm
index 17fdb5d..908d972 100644
--- a/PVE/AbstractMigrate.pm
+++ b/PVE/AbstractMigrate.pm
@@ -6,6 +6,7 @@ use POSIX qw(strftime);
 use JSON;
 use PVE::Tools;
 use PVE::Cluster;
+use PVE::DataCenterConfig;
 use PVE::ReplicationState;
 
 my $msg2text = sub {
diff --git a/PVE/Replication.pm b/PVE/Replication.pm
index 493b77d..c3e7564 100644
--- a/PVE/Replication.pm
+++ b/PVE/Replication.pm
@@ -11,6 +11,7 @@ use PVE::INotify;
 use PVE::ProcFSTools;
 use PVE::Tools;
 use PVE::Cluster;
+use PVE::DataCenterConfig;
 use PVE::Storage;
 use PVE::GuestHelpers;
 use PVE::ReplicationConfig;
-- 
2.20.1





More information about the pve-devel mailing list