Fix wrong parenthesis
This commit is contained in:
parent
98f9693ec1
commit
89284bf1c4
1 changed files with 1 additions and 2 deletions
|
@ -81,8 +81,7 @@ func (c *Config) String() string {
|
||||||
if typeField.Name != "PIHolePassword" && typeField.Name != "PIHoleApiToken" {
|
if typeField.Name != "PIHolePassword" && typeField.Name != "PIHoleApiToken" {
|
||||||
buffer[i] = fmt.Sprintf("%s=%v", typeField.Name, valueField.Interface())
|
buffer[i] = fmt.Sprintf("%s=%v", typeField.Name, valueField.Interface())
|
||||||
} else if valueField.Len() > 0 {
|
} else if valueField.Len() > 0 {
|
||||||
buffer[i] = fmt.Sprintf("%s=%s", typeField.Name, "*****")
|
buffer[i] = fmt.Sprintf("%s=%s", typeField.Name, "*****")
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue