fix: route config_all to the config command

This commit is contained in:
Jose Diaz-Gonzalez
2017-12-13 17:37:29 -05:00
committed by GitHub
parent 3d065bf35c
commit f0ef1daa15

View File

@@ -26,12 +26,13 @@ config_export() {
config_all() {
declare desc="Backwards compatible function for plugin use"
[[ "$1" == "config" ]] || set -- "config" "$@"
if [[ -n "$DOKKU_CONFIG_EXPORT" ]]; then
config_export app "$@"
return 0
fi
config_sub show "$@"
"$PLUGIN_AVAILABLE_PATH/config/commands" "$@"
}
config_keys() {