typo
This commit is contained in:
parent
e169a6bf3e
commit
4b35b7b729
1 changed files with 2 additions and 2 deletions
|
|
@ -5731,7 +5731,7 @@ class NewRepoTask(BaseTaskHandler):
|
|||
if not os.path.isdir(top_repos_dir):
|
||||
# missing or incorrect mount?
|
||||
# refuse and let another host try
|
||||
self.session.refuseTask(self.id, msg="No access to repos dir %s" % top_repos_dir)
|
||||
self.session.host.refuseTask(self.id, msg="No access to repos dir %s" % top_repos_dir)
|
||||
|
||||
# call repoInit
|
||||
kwargs = {}
|
||||
|
|
@ -5841,7 +5841,7 @@ class CreaterepoTask(BaseTaskHandler):
|
|||
if not os.path.isdir(top_repos_dir):
|
||||
# missing or incorrect mount?
|
||||
# refuse and let another host try
|
||||
self.session.refuseTask(self.id, msg="No access to repos dir %s" % top_repos_dir)
|
||||
self.session.host.refuseTask(self.id, msg="No access to repos dir %s" % top_repos_dir)
|
||||
else:
|
||||
# we seem to have fs access, but dir is missing, perhaps a repo_init bug?
|
||||
raise koji.GenericError("Repo directory missing: %s" % self.repodir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue