Show name of the dbgroup on list sync output
authorGreg Sabino Mullane <greg@endpoint.com>
Tue, 5 Jul 2011 14:05:45 +0000 (10:05 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Tue, 5 Jul 2011 14:05:45 +0000 (10:05 -0400)
bucardo

diff --git a/bucardo b/bucardo
index 3c67281e5ca2a8f047e65033a6db5525db83103e..744beb83ad23572a3ca15ef4cbd8ec8aa1b10ded 100755 (executable)
--- a/bucardo
+++ b/bucardo
@@ -4766,7 +4766,7 @@ sub list_syncs {
         my $s = $syncs->{$name};
         $maxname = length $name if length $name > $maxname;
         $maxherd = length $s->{herd}{name} if length $s->{herd}{name} > $maxherd;
-        $s->{d} = 'DBs:';
+        $s->{d} = "DB group $s->{dbs}:";
         for (sort keys %{ $s->{dblist} }) {
             $s->{d} .= " $_ ($s->{dblist}{$_}{role})";
         }