]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Fix bug in using priority 0 620/head
authorZack Cerza <zack@redhat.com>
Tue, 8 Sep 2015 17:32:54 +0000 (11:32 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 8 Sep 2015 17:32:54 +0000 (11:32 -0600)
http://tracker.ceph.com/issues/12995

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

index 80d1dfc4e5455dc9ae31adaeb8ba371c6145bb1c..80cbd50e820bb30c988013c133a532d70009cb58 100644 (file)
@@ -276,7 +276,7 @@ def prepare_and_schedule(job_config, suite_repo_path, base_yaml_paths, limit,
     ]
     if dry_run:
         base_args.append('--dry-run')
-    if job_config.priority:
+    if job_config.priority is not None:
         base_args.extend(['--priority', str(job_config.priority)])
     if verbose:
         base_args.append('-v')