mirror of
https://git.proxmox.com/git/qemu-server
synced 2026-01-01 03:23:14 +00:00
don't pull HA modules for doc-generation
This commit is contained in:
parent
265faf1f21
commit
9f11fc5fa2
@ -22,8 +22,15 @@ use PVE::INotify;
|
||||
use PVE::Network;
|
||||
use PVE::Firewall;
|
||||
use PVE::API2::Firewall::VM;
|
||||
use PVE::HA::Env::PVE2;
|
||||
use PVE::HA::Config;
|
||||
|
||||
BEGIN {
|
||||
if (!$ENV{PVE_GENERATING_DOCS}) {
|
||||
require PVE::HA::Env::PVE2;
|
||||
import PVE::HA::Env::PVE2;
|
||||
require PVE::HA::Config;
|
||||
import PVE::HA::Config;
|
||||
}
|
||||
}
|
||||
|
||||
use Data::Dumper; # fixme: remove
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user