From 7c37a95a91addce6291564c9848c855f8687030c Mon Sep 17 00:00:00 2001 From: Andrea Leardini Date: Wed, 11 Dec 2024 14:34:38 +0100 Subject: [PATCH] fix: hide list-modules notification Ref https://github.com/NethServer/dev/issues/7207 --- imageroot/bin/write-user-portal-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imageroot/bin/write-user-portal-config b/imageroot/bin/write-user-portal-config index cbe0581b..d99daf7f 100755 --- a/imageroot/bin/write-user-portal-config +++ b/imageroot/bin/write-user-portal-config @@ -30,7 +30,7 @@ with agent.redis_connect(use_replica=True) as rdb: # Translate the image identifiers in module_set into human readable strings names_set=set() try: - response = agent.tasks.run(agent_id='cluster', action='list-modules', data=None) + response = agent.tasks.run(agent_id='cluster', action='list-modules', data=None, extra={'isNotificationHidden': True}) for item in response['output']: if item.get('id') in modules_set: names_set.add(item.get('name'))