Merge pull request #36 from SShah7433/feature/remove-password-print
Skip print statement if PIHolePassword
This commit is contained in:
commit
67cafccd8e
1 changed files with 4 additions and 1 deletions
|
@ -61,7 +61,10 @@ func (c Config) show() {
|
|||
valueField := val.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("------------------------------------")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue