From 82152b5db6aa1dc97f6f0b6b2c176a8eade88538 Mon Sep 17 00:00:00 2001 From: Roman Sysoev <36233932+hardcoretime@users.noreply.github.com> Date: Tue, 28 May 2024 11:28:09 +0300 Subject: [PATCH] refactor(module): fix module name in webhook (#110) Module name is shown incorrectly in Deckhouse queue. "None" instead of "virtualization". Signed-off-by: Roman Sysoev --- hooks/lib/hooks/manage_tenant_secrets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hooks/lib/hooks/manage_tenant_secrets.py b/hooks/lib/hooks/manage_tenant_secrets.py index 4b8f1bd17..0871df0b8 100644 --- a/hooks/lib/hooks/manage_tenant_secrets.py +++ b/hooks/lib/hooks/manage_tenant_secrets.py @@ -35,8 +35,7 @@ def __init__(self, self.source_secret_name = source_secret_name self.pod_labels_to_follow = pod_labels_to_follow self.destination_secret_labels = destination_secret_labels - self.module_name = module_name - self.queue = f"/modules/{module_name}/manage-tenant-secrets" + self.queue = f"/modules/{self.module_name}/manage-tenant-secrets" def generate_config(self) -> dict: return {