From c1268cdd664d36e961a865acb026778f1987b18f Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Wed, 3 Apr 2019 01:47:30 +0200 Subject: [PATCH] btrbk: table_format "transaction": make "*host" and "*port" keys skip-row-if-empty (for consistency) --- btrbk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/btrbk b/btrbk index c1a6e49..d2e68ba 100755 --- a/btrbk +++ b/btrbk @@ -202,8 +202,8 @@ my %table_formats = ( RALIGN => { size=>1, used=>1, device_size=>1, device_allocated=>1, device_unallocated=>1, device_missing=>1, device_used=>1, free=>1, free_min=>1, data_ratio=>1, metadata_ratio=>1, global_reserve=>1, global_reserve_used=>1 }, }, - transaction => { table => [ qw( type status target_host target_port target_subvol source_host source_port source_subvol parent_subvol ) ], - long => [ qw( localtime type status duration target_host target_port target_subvol source_host source_port source_subvol parent_subvol message ) ], + transaction => { table => [ qw( type status -target_host -target_port target_subvol -source_host -source_port source_subvol parent_subvol ) ], + long => [ qw( localtime type status duration target_host target_port target_subvol source_host source_port source_subvol parent_subvol message ) ], tlog => [ qw( localtime type status target_url source_url parent_url message ) ], syslog => [ qw( type status target_url source_url parent_url message ) ], raw => [ qw( time localtime type status duration target_url source_url parent_url message ) ],