From bef746a5f6b75518af8a0075b00f1beb7a2688d2 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 15 Nov 2022 23:27:52 -0500 Subject: [PATCH] fix: add missing source calls and ensure checks properties are setup --- plugins/checks/checks-get-property | 1 + plugins/checks/install | 2 ++ 2 files changed, 3 insertions(+) diff --git a/plugins/checks/checks-get-property b/plugins/checks/checks-get-property index 7b531017e..f8ce96af7 100755 --- a/plugins/checks/checks-get-property +++ b/plugins/checks/checks-get-property @@ -1,5 +1,6 @@ #!/usr/bin/env bash set -eo pipefail +source "$PLUGIN_AVAILABLE_PATH/checks/internal-functions" [[ $DOKKU_TRACE ]] && set -x trigger-checks-checks-get-property() { diff --git a/plugins/checks/install b/plugins/checks/install index ffa8432a6..307fc095b 100755 --- a/plugins/checks/install +++ b/plugins/checks/install @@ -2,6 +2,7 @@ set -eo pipefail [[ $DOKKU_TRACE ]] && set -x source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions" +source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions" source "$PLUGIN_AVAILABLE_PATH/config/functions" migrate_checks_vars_0_29_0() { @@ -74,6 +75,7 @@ trigger-checks-install() { declare desc="installs the checks plugin" declare trigger="install" + fn-plugin-property-setup "checks" migrate_checks_vars_0_5_0 "$@" migrate_checks_vars_0_6_0 "$@" }