Clarify log warning

This commit is contained in:
Stéphane Bidoul 2021-11-28 13:34:32 +01:00
parent 25477fed61
commit 41a4b278b8
No known key found for this signature in database
GPG key ID: BCAB2555446B5B92

View file

@ -156,8 +156,9 @@ class Controller:
build = await self.get_build(build_name, db_only=False)
if build is None:
_logger.warning(
f"Received job event for {build_name} "
f"but the corresponding deployment is gone. "
f"Received job event for {job.metadata.name} "
f"of kind {job_kind} "
f"but the corresponding deployment {build_name} is gone. "
f"Deleting all build resources."
)
await k8s.delete_resources(build_name)