*/tasks: update phrasing
This commit is contained in:
parent
8e03824d20
commit
2ed9a1dbe3
|
@ -35,7 +35,7 @@ def outpost_controller_all():
|
||||||
|
|
||||||
@CELERY_APP.task(bind=True, base=MonitoredTask)
|
@CELERY_APP.task(bind=True, base=MonitoredTask)
|
||||||
def outpost_controller(self: MonitoredTask, outpost_pk: str):
|
def outpost_controller(self: MonitoredTask, outpost_pk: str):
|
||||||
"""Launch controller deployment of Outpost"""
|
"""Create/update/monitor the deployment of an Outpost"""
|
||||||
logs = []
|
logs = []
|
||||||
outpost: Outpost = Outpost.objects.get(pk=outpost_pk)
|
outpost: Outpost = Outpost.objects.get(pk=outpost_pk)
|
||||||
self.set_uid(slugify(outpost.name))
|
self.set_uid(slugify(outpost.name))
|
||||||
|
|
|
@ -20,7 +20,7 @@ def ldap_sync_all():
|
||||||
|
|
||||||
@CELERY_APP.task(bind=True, base=MonitoredTask)
|
@CELERY_APP.task(bind=True, base=MonitoredTask)
|
||||||
def ldap_sync(self: MonitoredTask, source_pk: int):
|
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)
|
source: LDAPSource = LDAPSource.objects.get(pk=source_pk)
|
||||||
self.set_uid(slugify(source.name))
|
self.set_uid(slugify(source.name))
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -13,7 +13,7 @@ LOGGER = get_logger()
|
||||||
|
|
||||||
@CELERY_APP.task(bind=True, base=MonitoredTask)
|
@CELERY_APP.task(bind=True, base=MonitoredTask)
|
||||||
def clean_temporary_users(self: MonitoredTask):
|
def clean_temporary_users(self: MonitoredTask):
|
||||||
"""Remove old temporary users"""
|
"""Remove temporary users created by SAML Sources"""
|
||||||
_now = now()
|
_now = now()
|
||||||
messages = []
|
messages = []
|
||||||
deleted_users = 0
|
deleted_users = 0
|
||||||
|
|
Reference in New Issue