From: Marcin Haba Date: Sun, 25 Aug 2019 05:58:41 +0000 (+0200) Subject: baculum: Tweak fix not linking device in job log X-Git-Tag: Release-9.6.0~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adc1966849f98734c636c87c5048a8c6f459b5a3;p=thirdparty%2Fbacula.git baculum: Tweak fix not linking device in job log --- diff --git a/gui/baculum/protected/Web/Class/LogParser.php b/gui/baculum/protected/Web/Class/LogParser.php index 7e3ab0e0e..f7b8db87e 100644 --- a/gui/baculum/protected/Web/Class/LogParser.php +++ b/gui/baculum/protected/Web/Class/LogParser.php @@ -29,7 +29,7 @@ class LogParser extends WebModule { const POOL_PATTERN = '/^\s+Pool\:\s+"?(?P[a-zA-Z0-9:.\-_ ]+)"?/i'; const READ_POOL_PATTERN = '/^\s+Read Pool\:\s+"?(?P[a-zA-Z0-9:.\-_ ]+)"?/i'; const WRITE_POOL_PATTERN = '/^\s+Write Pool\:\s+"?(?P[a-zA-Z0-9:.\-_ ]+)"?/i'; - const STORAGE_PATTERN = '/^\s+Storage\:\s+"?(?P[a-zA-Z0-9:.\-_ ]+)"?/i'; + const STORAGE_PATTERN = '/^\s{0,2}Storage\:\s+"?(?P[a-zA-Z0-9:.\-_ ]+)"?/i'; const READ_STORAGE_PATTERN = '/^\s+Read Storage\:\s+"?(?P[a-zA-Z0-9:.\-_ ]+)"?/i'; const WRITE_STORAGE_PATTERN = '/^\s+Write Storage\:\s+"?(?P[a-zA-Z0-9:.\-_ ]+)"?/i'; const FILESET_PATTERN = '/^\s+FileSet\:\s+"?(?P[a-zA-Z0-9:.\-_ ]+)"?/i';