Merge pull request #3010 from dokku/josegonzalez-patch-1

fix: route config_all to the `config` command to fix datastore plugin usage
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2017-12-13 17:37:56 -05:00
commit 984388d191
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() {