From 14e6a2023a663f02689b92da66da0fbd9e152ca9 Mon Sep 17 00:00:00 2001 From: Nozomi Anzai Date: Mon, 7 Dec 2015 15:30:58 +0900 Subject: [PATCH] Fix the definitions of "heartbeat_*" --- definePgpoolConfParam.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/definePgpoolConfParam.php b/definePgpoolConfParam.php index d01ccfa..e4dc68c 100644 --- a/definePgpoolConfParam.php +++ b/definePgpoolConfParam.php @@ -842,7 +842,7 @@ $pgpoolConfigHbDestinationParam[$key]['type'] = 'C'; $pgpoolConfigHbDestinationParam[$key]['default'] = ''; $pgpoolConfigHbDestinationParam[$key]['regexp'] = $hostreg; $pgpoolConfigHbDestinationParam[$key]['multiple'] = TRUE; -$pgpoolConfigParam[$key]['parent'] = array('use_watchdog' => 'on', 'wd_lifecheck_method' => 'heartbeat'); +$pgpoolConfigHbDestinationParam[$key]['parent'] = array('use_watchdog' => 'on', 'wd_lifecheck_method' => 'heartbeat'); $key = 'heartbeat_destination_port'; $pgpoolConfigHbDestinationParam[$key]['type'] = 'N'; @@ -850,14 +850,14 @@ $pgpoolConfigHbDestinationParam[$key]['default'] = 9694; $pgpoolConfigHbDestinationParam[$key]['min'] = 1024; $pgpoolConfigHbDestinationParam[$key]['max'] = NUM_MAX; $pgpoolConfigHbDestinationParam[$key]['multiple'] = TRUE; -$pgpoolConfigParam[$key]['parent'] = array('use_watchdog' => 'on', 'wd_lifecheck_method' => 'heartbeat'); +$pgpoolConfigHbDestinationParam[$key]['parent'] = array('use_watchdog' => 'on', 'wd_lifecheck_method' => 'heartbeat'); $key = 'heartbeat_device'; $pgpoolConfigHbDestinationParam[$key]['type'] = 'C'; $pgpoolConfigHbDestinationParam[$key]['default'] = 'eth0'; $pgpoolConfigHbDestinationParam[$key]['regexp'] = $anyelse; $pgpoolConfigHbDestinationParam[$key]['multiple'] = TRUE; -$pgpoolConfigParam[$key]['parent'] = array('use_watchdog' => 'on', 'wd_lifecheck_method' => 'heartbeat'); +$pgpoolConfigHbDestinationParam[$key]['parent'] = array('use_watchdog' => 'on', 'wd_lifecheck_method' => 'heartbeat'); # (Configuration of query mode) -- 2.39.5