From 89284bf1c44ea908dff5741fe933f8f8d3c03551 Mon Sep 17 00:00:00 2001 From: Galorhallen Date: Fri, 7 Jan 2022 22:55:31 +0100 Subject: [PATCH] Fix wrong parenthesis --- config/configuration.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/configuration.go b/config/configuration.go index bcfbe6c..5f75dbd 100644 --- a/config/configuration.go +++ b/config/configuration.go @@ -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, "*****") } }