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: Don't send mail from vm4 (yet)
Date Tue, 18 Apr 2017 16:37:29 GMT
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  4e20c74   Don't send mail from vm4 (yet)
4e20c74 is described below

commit 4e20c747b6c99ea9afb9e5ccbf38a69199ca9c1a
Author: Sebb <sebb@apache.org>
AuthorDate: Tue Apr 18 17:36:16 2017 +0100

    Don't send mail from vm4 (yet)
---
 www/roster/public_json_common.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/roster/public_json_common.rb b/www/roster/public_json_common.rb
index 5db46da..35f5a65 100644
--- a/www/roster/public_json_common.rb
+++ b/www/roster/public_json_common.rb
@@ -82,8 +82,8 @@ def public_json_output_file(info, file)
 end
 
 def sendMail(subject, body, to='Notification List <notifications@whimsical.apache.org>')
-  if `hostname`.include? 'vm2'
-    Wunderbar.info "Detected vm2, not sending mail: #{subject}"
+  if `hostname`.include? 'vm4'
+    Wunderbar.info "Detected vm4, not sending mail: #{subject}"
     return
   end
   begin

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

Mime
View raw message