From f4943eab683e2d22f486543c976088b4c6a18ef8 Mon Sep 17 00:00:00 2001 From: vijgovin Date: Mon, 16 Jun 2025 16:44:54 +0530 Subject: [PATCH] AMBARI-26517 : Avoid printing password during DB connection check --- .../src/main/resources/custom_actions/scripts/check_host.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ambari-server/src/main/resources/custom_actions/scripts/check_host.py b/ambari-server/src/main/resources/custom_actions/scripts/check_host.py index f3deffa4a83..0d32adbdb7c 100644 --- a/ambari-server/src/main/resources/custom_actions/scripts/check_host.py +++ b/ambari-server/src/main/resources/custom_actions/scripts/check_host.py @@ -597,7 +597,7 @@ def execute_db_connection_check(self, config, tmp_dir): if isinstance(db_connection_check_command, str): code, out = shell.call( - split(db_connection_check_command, comments=True), shell=False + split(db_connection_check_command, comments=True), shell=False, quiet=True ) else: code, out = shell.call(db_connection_check_command, shell=False)