Skip to content

Commit

Permalink
refactor(module): fix module name in webhook (#110)
Browse files Browse the repository at this point in the history
Module name is shown incorrectly in Deckhouse queue. "None" instead of "virtualization".

Signed-off-by: Roman Sysoev <[email protected]>
  • Loading branch information
hardcoretime authored May 28, 2024
1 parent e5c4605 commit 82152b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hooks/lib/hooks/manage_tenant_secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 82152b5

Please sign in to comment.