From 5da8b77a7eb68e7ca9547c4a1e4bd900d0d6706b Mon Sep 17 00:00:00 2001 From: yutak03 Date: Wed, 29 Apr 2026 13:41:09 +0900 Subject: [PATCH] fix: prevent table misalignment for redacted tokens --- pkg/utils/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils/util.go b/pkg/utils/util.go index d0db7fda..6332d5c3 100644 --- a/pkg/utils/util.go +++ b/pkg/utils/util.go @@ -425,7 +425,7 @@ func UUID() (string, error) { func RedactAuthToken(token string) string { // ensure there are enough characters or we'll end up giving away the whole token if len(token) > 30 { - return fmt.Sprintf("%s…%s", token[0:10], token[len(token)-5:]) + return fmt.Sprintf("%s...%s", token[0:10], token[len(token)-5:]) } return "[REDACTED]"