Skip to content

Commit

Permalink
fix: Use MYSQL_EXTERNAL_PORT in etcd registration for mysql-role.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
pcfreak30 committed Dec 9, 2024
1 parent 1168e96 commit ab5d1cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mysql-role.sh
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ monitor_gtid() {

node_status=$(jq -n \
--arg host "$HOST" \
--arg port "$PORT" \
--arg port "${MYSQL_EXTERNAL_PORT}" \
--arg last_seen "$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
--arg gtid "$gtid_position" \
--arg role "$current_role" \
Expand Down

0 comments on commit ab5d1cb

Please sign in to comment.