You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2016/05/06 22:35:39 UTC

[whimsy] branch master updated: Warnings are recoverable (and are logged to notifications) so they don't need to be reported to Ping My Box as well

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  24515c0   Warnings are recoverable (and are logged to notifications) so they don't need to be reported to Ping My Box as well
24515c0 is described below

commit 24515c09346b1069ffec18238eb871a31911fef0
Author: Sebb <se...@apache.org>
AuthorDate: Fri May 6 23:35:29 2016 +0100

    Warnings are recoverable (and are logged to notifications) so they don't
    need to be reported to Ping My Box as well
---
 www/status/index.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/status/index.cgi b/www/status/index.cgi
index 296c33c..5ed0ade 100755
--- a/www/status/index.cgi
+++ b/www/status/index.cgi
@@ -21,7 +21,7 @@ if not status[:mtime] or Time.now - Time.parse(status[:mtime]) > 60
 end
 
 # The following is what infrastructure team sees:
-if %w(success info).include? status[:level]
+if %w(success info warning).include? status[:level]
   summary_status = "200 OK"
 else
   summary_status = "400 #{status[:title] || 'failure'}"

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].