mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
20 lines
456 B
Bash
Executable File
20 lines
456 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
source "$PLUGIN_AVAILABLE_PATH/checks/internal-functions"
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
|
|
trigger-checks-checks-get-property() {
|
|
declare desc="return the value for an app's checks property"
|
|
declare trigger="checks-get-property"
|
|
declare APP="$1" KEY="$2"
|
|
|
|
if [[ "$KEY" == "wait-to-retire" ]]; then
|
|
fn-checks-computed-wait-to-retire "$APP"
|
|
return
|
|
fi
|
|
|
|
return 1
|
|
}
|
|
|
|
trigger-checks-checks-get-property "$@"
|