[freeside-commits] branch FREESIDE_4_BRANCH updated. d6197d0cce537b7bbdd0f47db1351031e2c79bfa
Ivan Kohler
ivan at freeside.biz
Wed Sep 18 16:20:36 PDT 2019
The branch, FREESIDE_4_BRANCH has been updated
via d6197d0cce537b7bbdd0f47db1351031e2c79bfa (commit)
from 2ca291caff85cdd292370a944be1e4bacd4583a7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d6197d0cce537b7bbdd0f47db1351031e2c79bfa
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Sep 18 16:19:54 2019 -0700
fix slave IP display
diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html
index 7fb03eb2f..af58f3509 100644
--- a/httemplate/view/Status.html
+++ b/httemplate/view/Status.html
@@ -121,7 +121,7 @@ if ( $db eq 'PostgreSQL' ) {
&& FS::Record->scalar_sql('SHOW archive_mode') eq 'on';
my $slave =
- FS::Record->scalar_sql('SHOW archive_command') =~ / postgres\@([\w\.\-]+): /
+ FS::Record->scalar_sql('SHOW archive_command') =~ / postgres\@([\w\.\-]+):/
? $1 : '';
$status{'Replication'} = [
@@ -141,11 +141,11 @@ if ( $db eq 'PostgreSQL' ) {
# http://www.keithf4.com/monitoring_streaming_slave_lag/
# except pg_stat_replication still doesn't fill in the columns we need as
# non-Pg user :/
- push @{ $status{'Replication'} },
- { 'title' => 'Slave',
- 'value' => $slave || '(Missing, or unparseable archive_command)',
- },
- ;
+ #push @{ $status{'Replication'} },
+ # { 'title' => 'Slave',
+ # 'value' => $slave || '(Missing, or unparseable archive_command)',
+ # },
+ #;
}
}
-----------------------------------------------------------------------
Summary of changes:
httemplate/view/Status.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
More information about the freeside-commits
mailing list