(s, label string)
| 312 | } |
| 313 | |
| 314 | func redactSecretString(s, label string) string { |
| 315 | if s == "" { |
| 316 | return "" |
| 317 | } |
| 318 | return fmt.Sprintf("<redacted %s len=%d>", label, len(s)) |
| 319 | } |
| 320 | |
| 321 | func redactEndpoint(s string) string { |
| 322 | if s == "" { |
no outgoing calls
no test coverage detected