Commit 520ac877 authored by Rémi Duraffort's avatar Rémi Duraffort Committed by Neil Williams
Browse files

XMLRPC: remove unused function

Change-Id: I453df2485ae0776f2c419cb4129fc2b1b2df2339
parent cce1bdea
......@@ -917,32 +917,6 @@ class SchedulerAPI(ExposedAPI):
job_status[str(job.display_id)] = job.get_status_display()
return job_status
def worker_heartbeat(self, heartbeat_data):
"""
Name
----
`worker_heartbeat` (`heartbeat_data`)
Description
-----------
Dropped - arguments are ignored.
Arguments
---------
`heartbeat_data`: string
Heartbeat data extracted from dispatcher worker node.
Return value
------------
This function returns an XML-RPC boolean output, provided the user is
authenticated with an username and token.
"""
if not self.user:
raise xmlrpclib.Fault(
401, "Authentication with user and token required for this "
"API.")
return True
def notify_incomplete_job(self, job_id):
"""
Name
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment