mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
Avoid internal dokku calls will avoid potentially expensive subprocesses - in particular, user-auth will be re-invoked, which can be expensive.
16 lines
416 B
Bash
Executable File
16 lines
416 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
source "$PLUGIN_AVAILABLE_PATH/docker-options/functions"
|
|
source "$PLUGIN_AVAILABLE_PATH/storage/functions"
|
|
|
|
trigger-storage-storage-list() {
|
|
declare desc="storage storage-list trigger"
|
|
declare trigger="storage-list"
|
|
declare APP="$1" PHASE="$2"
|
|
|
|
get_bind_mounts "$(fn-get-phase-file-path "$APP" "$PHASE")"
|
|
}
|
|
|
|
trigger-storage-storage-list "$@"
|