From 2ed9a1dbe3a9bb06a8841ebd543299b26742de7b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 19 Oct 2020 21:35:31 +0200 Subject: [PATCH] */tasks: update phrasing --- passbook/outposts/tasks.py | 2 +- passbook/sources/ldap/tasks.py | 2 +- passbook/sources/saml/tasks.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/passbook/outposts/tasks.py b/passbook/outposts/tasks.py index 7e66be3d5..cbcc458a3 100644 --- a/passbook/outposts/tasks.py +++ b/passbook/outposts/tasks.py @@ -35,7 +35,7 @@ def outpost_controller_all(): @CELERY_APP.task(bind=True, base=MonitoredTask) def outpost_controller(self: MonitoredTask, outpost_pk: str): - """Launch controller deployment of Outpost""" + """Create/update/monitor the deployment of an Outpost""" logs = [] outpost: Outpost = Outpost.objects.get(pk=outpost_pk) self.set_uid(slugify(outpost.name)) diff --git a/passbook/sources/ldap/tasks.py b/passbook/sources/ldap/tasks.py index 551b26e00..e92dbb967 100644 --- a/passbook/sources/ldap/tasks.py +++ b/passbook/sources/ldap/tasks.py @@ -20,7 +20,7 @@ def ldap_sync_all(): @CELERY_APP.task(bind=True, base=MonitoredTask) def ldap_sync(self: MonitoredTask, source_pk: int): - """Sync a single source""" + """Synchronization of an LDAP Source""" source: LDAPSource = LDAPSource.objects.get(pk=source_pk) self.set_uid(slugify(source.name)) try: diff --git a/passbook/sources/saml/tasks.py b/passbook/sources/saml/tasks.py index 886535811..3fc426f91 100644 --- a/passbook/sources/saml/tasks.py +++ b/passbook/sources/saml/tasks.py @@ -13,7 +13,7 @@ LOGGER = get_logger() @CELERY_APP.task(bind=True, base=MonitoredTask) def clean_temporary_users(self: MonitoredTask): - """Remove old temporary users""" + """Remove temporary users created by SAML Sources""" _now = now() messages = [] deleted_users = 0