From a45e203ffb56fb50663ba9e8cd7c91c61dfaa85d Mon Sep 17 00:00:00 2001 From: leonrayang Date: Mon, 7 Aug 2023 18:49:25 +0800 Subject: [PATCH] fix(autonode): Fix code scanning alert - Clear-text logging of sensitive information close:#2434 Signed-off-by: leonrayang --- authtool/authtool.go | 1 - 1 file changed, 1 deletion(-) diff --git a/authtool/authtool.go b/authtool/authtool.go index f4e5d785f..ec63248f2 100644 --- a/authtool/authtool.go +++ b/authtool/authtool.go @@ -373,7 +373,6 @@ func accessAuthServer() { if res, err = resp.KeyInfo.DumpJSONStr(); err != nil { panic(err) } - fmt.Printf(res + "\n") } case AddRaftNode: