Skip to content

Commit

Permalink
Fix node name in fly clustering
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed Jun 25, 2024
1 parent 0bb327f commit 8de89b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rel/server/env.sh.eex
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ if [ "$LIVEBOOK_CLUSTER" = "auto" ] && [ ! -z "$FLY_APP_NAME" ]; then
;;
esac

if [ -z "${LIVEBOOK_NODE}" ];
then export LIVEBOOK_NODE="${FLY_APP_NAME}-${FLY_IMAGE_REF##*-}@${FLY_PRIVATE_IP}";
if [ -z "${LIVEBOOK_NODE}" ]; then
export LIVEBOOK_NODE="${FLY_APP_NAME}-${FLY_IMAGE_REF##*:}@${FLY_PRIVATE_IP}"
fi
fi

Expand Down

0 comments on commit 8de89b0

Please sign in to comment.