]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Fix a bug where results_email was being ignored
authorZack Cerza <zack@cerza.org>
Tue, 15 Jul 2014 17:28:07 +0000 (11:28 -0600)
committerZack Cerza <zack@cerza.org>
Tue, 15 Jul 2014 18:02:32 +0000 (12:02 -0600)
Referring to the setting in ~/.teuthology.yaml

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/suite.py

index 95483bd6d103084c9226996f36e5084dd5a47d7f..3a28ea791b7d646afdef5cffb66eed5edb3adf90 100644 (file)
@@ -65,8 +65,8 @@ def main(args):
 
     job_config.name = name
     job_config.priority = priority
-    if email:
-        job_config.email = email
+    if config.results_email:
+        job_config.email = config.results_email
     if owner:
         job_config.owner = owner