refactor(upgrade): use ssh_target_server variable for consistent SSH command execution
This commit is contained in:
1 file changed
+1
-1
@@ -2417,7 +2417,7 @@ upgrade-odoo() {
|
||||
|
||||
if [[ "$2" =~ "clear-assets" ]]; then
|
||||
log-warning "Run step 'update' on $TARGET_SERVER."
|
||||
ssh -p "$TARGET_PORT" "$TARGET_SERVER" docker-odoo-clear-assets -c "$TARGET_ODOO_CONTAINER" -d "$TARGET_DATABASE"
|
||||
$ssh_target_server docker-odoo-clear-assets -c "$TARGET_ODOO_CONTAINER" -d "$TARGET_DATABASE"
|
||||
fi
|
||||
|
||||
if [[ "$2" =~ "init" ]]; then
|
||||
|
||||
Reference in new issue
Block a user