sanitizeEnv modifies kvs in place and replaces the values all non-empty keys with the string ***REDACTED***
(kvs map[string]string)
| 1227 | // sanitizeEnv modifies kvs in place and replaces the values all non-empty keys |
| 1228 | // with the string ***REDACTED*** |
| 1229 | func sanitizeEnv(kvs map[string]string) { |
| 1230 | for k, v := range kvs { |
| 1231 | if v != "" { |
| 1232 | kvs[k] = "***REDACTED***" |
| 1233 | } |
| 1234 | } |
| 1235 | } |
no outgoing calls
no test coverage detected