feat: properly handle custom aliases and error states for alias usage when calling link subcommand. Refs dokku/dokku-redis#64
This commit is contained in:
@@ -32,7 +32,7 @@ service-clone-cmd() {
|
||||
|
||||
service_parse_args "${@:3}"
|
||||
|
||||
dokku_log_info2 "Cloning $SERVICE to $NEW_SERVICE"
|
||||
dokku_log_info2 "Cloning $SERVICE to $NEW_SERVICE @ $PLUGIN_IMAGE:$PLUGIN_IMAGE_VERSION"
|
||||
service_create "$NEW_SERVICE" "${@:3}"
|
||||
dokku_log_info1 "Copying data from $SERVICE to $NEW_SERVICE"
|
||||
service_export "$SERVICE" | service_import "$NEW_SERVICE" > /dev/null 2>&1 || true
|
||||
|
||||
Reference in New Issue
Block a user