refactor: standardize command naming
This standardization makes it somewhat easier to read stacktraces as the command names are all uniform, so it will be slightly easier to scan trace output.
This commit is contained in:
1 parent
deea791e58
commit
1cb586b2e7
134 files changed
+246
-245
No files matched your search
@@ -4,7 +4,7 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions"
|
||||
set -eo pipefail
|
||||
[[ $DOKKU_TRACE ]] && set -x
|
||||
|
||||
scheduler-docker-local-set-cmd() {
|
||||
cmd-scheduler-docker-local-set() {
|
||||
declare desc="set or clear a scheduler-docker-local property for an app"
|
||||
local cmd="scheduler-docker-local:set" argv=("$@")
|
||||
[[ ${argv[0]} == "$cmd" ]] && shift 1
|
||||
@@ -26,4 +26,4 @@ scheduler-docker-local-set-cmd() {
|
||||
fi
|
||||
}
|
||||
|
||||
scheduler-docker-local-set-cmd "$@"
|
||||
cmd-scheduler-docker-local-set "$@"
|
||||
Reference in new issue
Block a user