Hide plant id
This commit is contained in:
parent
3cd40f0861
commit
d72877f0a7
1 changed files with 2 additions and 1 deletions
|
|
@ -154,8 +154,9 @@ func unwrap(err error) (res []string) {
|
|||
func redact(src string) string {
|
||||
secrets := []string{
|
||||
"url", "uri", "host", "broker", // infrastructure
|
||||
"sponsortoken", "plant", // global settings
|
||||
"user", "password", // users
|
||||
"token", "access", "refresh", "sponsortoken", // tokens
|
||||
"token", "access", "refresh", // tokens
|
||||
"ain", "id", "secret", "serial", "deviceid", "machineid", // devices
|
||||
"vin"} // vehicles
|
||||
return regexp.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue