[freeside-commits] branch master updated. 78e3c0ade972ce25fb9b3de97a2e6539854ffedd

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


The branch, master has been updated
       via  78e3c0ade972ce25fb9b3de97a2e6539854ffedd (commit)
      from  b3d08673e04aaebcba6bd5dd1074d5bf309b2cf4 (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 78e3c0ade972ce25fb9b3de97a2e6539854ffedd
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jun 3 20:58:26 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