Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LobbyLobster committed Jul 29, 2024
1 parent 3f744f2 commit da0bc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/monodb/pgsql-health.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function parse_config_pgsql() {

SEND_ALARM=$(yaml .postgres.alarm.enabled $CONFIG_PATH_MONODB "$SEND_ALARM")

LEADER_SWICH_HOOK=$(yaml .postgres.leader_switch_hook $CONFIG_PATH_MONODB "")
LEADER_SWITCH_HOOK=$(yaml .postgres.leader_switch_hook $CONFIG_PATH_MONODB "")

if [ -z "$PATRONI_API" ] && [ -f /etc/patroni/patroni.yml ]; then
PATRONI_API="$(yq -r .restapi.listen /etc/patroni/patroni.yml)"
Expand Down

0 comments on commit da0bc17

Please sign in to comment.