whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Unnecessary
Date Wed, 06 Apr 2016 23:34:13 GMT
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  ee3ae01   Unnecessary
ee3ae01 is described below

commit ee3ae01534b62398b0c2d077ff0142cc219a08b2
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Apr 7 00:34:06 2016 +0100

    Unnecessary
---
 www/status/monitors/public_json.rb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/www/status/monitors/public_json.rb b/www/status/monitors/public_json.rb
index ba0d6c5..bba798d 100644
--- a/www/status/monitors/public_json.rb
+++ b/www/status/monitors/public_json.rb
@@ -89,8 +89,7 @@ def Monitor.public_json(previous_status)
       if lvl and lvl != 'info' and lvl != 'success' # was there a problem?
         # Save a copy of the log; append the severity so can track more problems
         name = File.basename(log)
-        # temporarily allow the date stamp to be updated so we can see if the file is copied
mulitple times
-        FileUtils.copy log, File.join(archive, name + '.' + lvl) #, preserve: true
+        FileUtils.copy log, File.join(archive, name + '.' + lvl), preserve: true
         $stderr.puts "Would send e-mail for #{name} #{lvl}"
       end
     end

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

Mime
View raw message