]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
task.internal: use get_builder_project()
authorZack Cerza <zack@redhat.com>
Wed, 7 Sep 2016 21:03:38 +0000 (15:03 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 4 Oct 2016 15:01:20 +0000 (09:01 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/task/internal.py

index 367796127834e5e1550635d5fa8fdd6fc7a0aae6..092a1cf3e3de309057ad7c8823d2c92fcc1e0192 100644 (file)
@@ -15,7 +15,7 @@ from teuthology import lockstatus
 from teuthology import lock
 from teuthology import misc
 from teuthology import provision
-from teuthology.packaging import GitbuilderProject
+from teuthology.packaging import get_builder_project
 from teuthology.exceptions import VersionNotFoundError
 from teuthology.job_status import get_status, set_status
 from teuthology.config import config as teuth_config
@@ -254,7 +254,7 @@ def check_packages(ctx, config):
     # We can only do this check if there are a defined sha1 and os_type
     # in the job config.
     if os_type and sha1:
-        package = GitbuilderProject("ceph", ctx.config)
+        package = get_builder_project()("ceph", ctx.config)
         template = "Checking packages for os_type,'{os}' flavor '{flav}' and" \
             " ceph hash '{ver}'"
         log.info(