This is an automated email from the ASF dual-hosted git repository.

jialiang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 55c1d4f044 AMBARI-26517 : Avoid printing password during DB connection 
check (#4025)
55c1d4f044 is described below

commit 55c1d4f0441499fe8e6db61aad4563ed206d35b9
Author: Vijayakumar Govindasamy <[email protected]>
AuthorDate: Tue Jul 1 06:38:49 2025 +0530

    AMBARI-26517 : Avoid printing password during DB connection check (#4025)
    
    Co-authored-by: vijgovin <[email protected]>
---
 ambari-server/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 f3deffa4a8..0d32adbdb7 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 @@ class CheckHost(Script):
 
     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)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to