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
2017-12-13 17:37:56 -05:00
committed by GitHub

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() {