Browse Source

fix: [postgres] display service name in error message !minor

Unused variables or options were also removed.
pull/36/head
Valentin Lab 1 year ago
parent
commit
19fa8608db
  1. 8
      odoo-tecnativa/actions/drop

8
odoo-tecnativa/actions/drop

@ -7,7 +7,7 @@ fi
version=0.1
usage="$exname [-h|--help] [--force|-f] [DBNAME]"
usage="$exname [-h|--help] [DBNAME]"
help="
USAGE:
@ -28,16 +28,12 @@ EXAMPLES:
dbname=
output=
while [ "$1" ]; do
case "$1" in
"--help"|"-h")
print_help >&2
exit 0
;;
"--force"|"-f")
force=yes
;;
--*|-*)
err "Unexpected optional argument '$1'"
print_usage >&2
@ -126,7 +122,7 @@ ADMIN_PASSWORD=$(echo "$service_def" | shyaml -q get-value options.admin-passwor
}
container_network_ip=$(get_healthy_container_ip_for_service "$SERVICE_NAME" 8069 4) || {
err "Please ensure that $DARKYELLOW$service$NORMAL is running before using '$exname'."
err "Please ensure that $DARKYELLOW$SERVICE_NAME$NORMAL is running before using '$exname'."
exit 1
}

Loading…
Cancel
Save