mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
refactor: mark storage:list as deprecated
This commit is contained in:
3
plugins/storage/subcommands/default
Normal file → Executable file
3
plugins/storage/subcommands/default
Normal file → Executable file
@@ -2,11 +2,12 @@
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/storage/functions"
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/docker-options/functions"
|
||||
|
||||
storage_main_cmd() {
|
||||
declare desc="an alias for storage:list"
|
||||
local cmd="storage"
|
||||
|
||||
dokku_log_warn "Deprecated: Please use storage:list"
|
||||
storage_list_cmd "$@"
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/storage/functions"
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/docker-options/functions"
|
||||
|
||||
|
||||
storage_list_cmd "$@"
|
||||
|
||||
Reference in New Issue
Block a user