summaryrefslogtreecommitdiff
path: root/contrib/cirrus/logformatter
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-03-22 08:47:31 -0600
committerEd Santiago <santiago@redhat.com>2022-03-22 08:56:36 -0600
commit501355d4a55b27ba0d374070b88fdefadb38b6a6 (patch)
tree376233dd4274dfc42e20296e5df31771a176ee18 /contrib/cirrus/logformatter
parent901066acd113ee3bea709cc558d86c4c438e2f67 (diff)
downloadpodman-501355d4a55b27ba0d374070b88fdefadb38b6a6.tar.gz
podman-501355d4a55b27ba0d374070b88fdefadb38b6a6.tar.bz2
podman-501355d4a55b27ba0d374070b88fdefadb38b6a6.zip
Fix unreadable netavark logs
ginkgo netavark logs (and, to a lesser extent, cni logs) are unreadable because the hide-boring-opts code did not know about --network-backend. Now it does. Manually filtered an existing netavark log to confirm there are no other new options we should know about. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'contrib/cirrus/logformatter')
-rwxr-xr-xcontrib/cirrus/logformatter2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cirrus/logformatter b/contrib/cirrus/logformatter
index 5b8e2f2a1..3ec839aa8 100755
--- a/contrib/cirrus/logformatter
+++ b/contrib/cirrus/logformatter
@@ -401,7 +401,7 @@ END_HTML
# Highlight the important (non-boilerplate) podman command.
$line =~ s/\s+--remote\s+/ /g; # --remote takes no args
# Strip out the global podman options, but show them on hover
- $line =~ s{(\S+\/podman(-remote)?)((\s+--(root|runroot|runtime|tmpdir|storage-opt|conmon|cgroup-manager|network-config-dir|storage-driver|events-backend|url) \S+)*)(.*)}{
+ $line =~ s{(\S+\/podman(-remote)?)((\s+--(root|runroot|runtime|tmpdir|storage-opt|conmon|cgroup-manager|network-backend|network-config-dir|storage-driver|events-backend|url) \S+)*)(.*)}{
my ($full_path, $remote, $options, $args) = ($1, $2||'', $3, $6);
$options =~ s/^\s+//;