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 2017/04/18 16:37:29 UTC

[whimsy] branch master updated: Don't send mail from vm4 (yet)

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 <se...@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 <no...@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" <co...@whimsical.apache.org>'].