From 1e07d70c29cf65656d98c7bfad66dc4b1d6862bb Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 17 Oct 2018 11:41:44 +0200 Subject: [PATCH] Tools: add note about indirect include of Config module Signed-off-by: Thomas Lamprecht --- src/PVE/HA/Tools.pm | 5 +++++ 1 file changed, 5 insertions(+) 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) = @_; -- 2.39.2