fix: route config_all to the config command

This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2017-12-13 17:37:29 -05:00
1 parent 3d065bf35c
commit f0ef1daa15
1 file changed
+2 -1
+2 -1
View File
@@ -26,12 +26,13 @@ config_export() {
config_all() { config_all() {
declare desc="Backwards compatible function for plugin use" declare desc="Backwards compatible function for plugin use"
[[ "$1" == "config" ]] || set -- "config" "$@"
if [[ -n "$DOKKU_CONFIG_EXPORT" ]]; then if [[ -n "$DOKKU_CONFIG_EXPORT" ]]; then
config_export app "$@" config_export app "$@"
return 0 return 0
fi fi
config_sub show "$@" "$PLUGIN_AVAILABLE_PATH/config/commands" "$@"
} }
config_keys() { config_keys() {