Browse Source

fix: [vps] add forgotten local variable !minor

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
rc1
Valentin Lab 2 years ago
parent
commit
8090b9b590
  1. 2
      bin/vps

2
bin/vps

@ -630,7 +630,7 @@ compose:container:service() {
export -f compose:container:service export -f compose:container:service
compose:psql() { compose:psql() {
local project_name="$1" dbname="$2"
local project_name="$1" dbname="$2" container_id
container_id=$(compose:charm:container_one "$project_name" "postgres") || return 1 container_id=$(compose:charm:container_one "$project_name" "postgres") || return 1
docker exec -i "${container_id}" psql -U postgres "$dbname" docker exec -i "${container_id}" psql -U postgres "$dbname"
} }

Loading…
Cancel
Save