parent
045639e0ee
commit
54942ee26d
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
// Do not print password
|
||||||
|
if typeField.Name != "PIHolePassword" {
|
||||||
log.Println(fmt.Sprintf("%s : %v", typeField.Name, valueField.Interface()))
|
log.Println(fmt.Sprintf("%s : %v", typeField.Name, valueField.Interface()))
|
||||||
}
|
}
|
||||||
|
}
|
||||||
log.Println("------------------------------------")
|
log.Println("------------------------------------")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue