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]"