From: Thomas Lamprecht Date: Wed, 17 Oct 2018 09:41:44 +0000 (+0200) Subject: Tools: add note about indirect include of Config module X-Git-Url: https://git.proxmox.com/?p=pve-ha-manager.git;a=commitdiff_plain;h=1e07d70c29cf65656d98c7bfad66dc4b1d6862bb Tools: add note about indirect include of Config module Signed-off-by: Thomas Lamprecht --- diff --git a/src/PVE/HA/Tools.pm b/src/PVE/HA/Tools.pm index 9d037f5..ba118d0 100644 --- a/src/PVE/HA/Tools.pm +++ b/src/PVE/HA/Tools.pm @@ -174,6 +174,11 @@ sub upid_wait { # bash auto completion helper +# NOTE: we use PVE::HA::Config here without declaring an 'use' clause above as +# an hack. It uses the PVE::Cluster module from pve-cluster, which we do not +# have nor want as dependency in the simulator - where the completion helpers +# are never called. The PVE::CLI::ha_manager package pulls it in for us. + sub complete_sid { my ($cmd, $pname, $cur) = @_;