mirror of
https://github.com/eko/pihole-exporter.git
synced 2024-11-22 11:15:19 +01:00
parent
045639e0ee
commit
54942ee26d
@ -61,7 +61,10 @@ func (c Config) show() {
|
|||||||
valueField := val.Field(i)
|
valueField := val.Field(i)
|
||||||
typeField := val.Type().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("------------------------------------")
|
log.Println("------------------------------------")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user