[freeside-commits] branch FREESIDE_3_BRANCH updated. f585e97f2a3690339066bbb7fbb6f87f4600cff6

Ivan ivan at 420.am
Wed Jun 3 20:58:30 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  f585e97f2a3690339066bbb7fbb6f87f4600cff6 (commit)
      from  e522b7d9cdd4ce8bc1cd3e3d1d9a56afb470ff93 (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 f585e97f2a3690339066bbb7fbb6f87f4600cff6
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jun 3 20:58:28 2015 -0700

    fix pg replication slave display in status

diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html
index f106087..eb7df68 100644
--- a/httemplate/view/Status.html
+++ b/httemplate/view/Status.html
@@ -93,7 +93,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'} = [

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/Status.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list