mirror of
https://github.com/eko/pihole-exporter.git
synced 2024-11-21 11:05:22 +01:00
parent
045639e0ee
commit
54942ee26d
@ -61,7 +61,10 @@ func (c Config) show() {
|
||||
valueField := val.Field(i)
|
||||
typeField := val.Type().Field(i)
|
||||
|
||||
log.Println(fmt.Sprintf("%s : %v", typeField.Name, valueField.Interface()))
|
||||
// Do not print password
|
||||
if typeField.Name != "PIHolePassword" {
|
||||
log.Println(fmt.Sprintf("%s : %v", typeField.Name, valueField.Interface()))
|
||||
}
|
||||
}
|
||||
log.Println("------------------------------------")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user