]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
Tools: add note about indirect include of Config module
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 Oct 2018 09:41:44 +0000 (11:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 Oct 2018 09:41:44 +0000 (11:41 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/HA/Tools.pm

index 9d037f5058fa8017f7a69f25dfba1685cab4b8b1..ba118d0173cf31a0a06f3fc14d6430b862ae1fc8 100644 (file)
@@ -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) = @_;