This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 8c79f2c2 No point reporting this; it is a library issue
8c79f2c2 is described below
commit 8c79f2c2a9cc69ad231cd3f3c629f926ec65b532
Author: Sebb <[email protected]>
AuthorDate: Mon Jan 8 17:24:38 2024 +0000
No point reporting this; it is a library issue
---
www/status/monitors/public_json.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/status/monitors/public_json.rb
b/www/status/monitors/public_json.rb
index 01b2d45f..1ff2303e 100644
--- a/www/status/monitors/public_json.rb
+++ b/www/status/monitors/public_json.rb
@@ -67,7 +67,7 @@ def Monitor.public_json(previous_status)
# Ruby warnings, e.g.
# /usr/lib/ruby/2.7.0/net/protocol.rb:66: warning: previous definition
of ProtocRetryError was here
if contents.gsub!(%r{^/(?:var|usr|/srv/gems)/lib/\S+: (warning:.*?)\n+},
'')
- status[name].merge! level: 'warning', data: $1
+ status[name].merge! level: 'warning', data: $1 unless $1.include?
'/net/protocol.rb:' # can't fix this
end
# Check to see if the log has been updated recently