mirror of
https://github.com/eko/pihole-exporter.git
synced 2024-11-21 11:05:22 +01:00
Fix wrong parenthesis
This commit is contained in:
parent
98f9693ec1
commit
89284bf1c4
@ -81,8 +81,7 @@ func (c *Config) String() string {
|
||||
if typeField.Name != "PIHolePassword" && typeField.Name != "PIHoleApiToken" {
|
||||
buffer[i] = fmt.Sprintf("%s=%v", typeField.Name, valueField.Interface())
|
||||
} else if valueField.Len() > 0 {
|
||||
buffer[i] = fmt.Sprintf("%s=%s", typeField.Name, "*****")
|
||||
}
|
||||
buffer[i] = fmt.Sprintf("%s=%s", typeField.Name, "*****")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user