Browse Source

fix: [mongo] make ``upgrade`` script work to detect error on non "mongo" named service

pull/34/head
Valentin Lab 5 months ago
parent
commit
3f2c416094
  1. 4
      mongo/actions/upgrade

4
mongo/actions/upgrade

@ -289,8 +289,8 @@ while [[ "${#upgrade_path[@]}" != 0 ]]; do
errlvl="0"
break
;;
*"getaddrinfo(\"mongo\") failed: Name or service not known"*)
err "Mongo issue with resolving 'mongo'"
*"getaddrinfo(\"$SERVICE_NAME\") failed: Name or service not known"*)
err "Mongo issue with resolving '$SERVICE_NAME'"
failed=1
break 3
;;

Loading…
Cancel
Save