Remove host.getTask API call

Fixes: https://pagure.io/koji/issue/2231
This commit is contained in:
Tomas Kopecek 2020-07-28 12:14:02 +02:00
parent cb751f7f41
commit c7a0d26123

View file

@ -13503,12 +13503,6 @@ class HostExports(object):
task = Task(task_id)
return task.open(host.id)
def getTask(self):
logging.warn("Call host.getTask is deprecated and will be removed in 1.23")
host = Host()
host.verify()
return host.getTask()
def closeTask(self, task_id, response):
host = Host()
host.verify()