launchpad/tasks: Fix ping task function name

An exception is raised when registering task types in scheduler database otherwise.
This commit is contained in:
Antoine Lambert 2021-01-28 16:11:25 +01:00
parent 0ad37740d9
commit e8725eb247

View file

@ -9,7 +9,7 @@ from .lister import LaunchpadLister
@shared_task(name=__name__ + ".ping")
def ping():
def _ping():
return "OK"