small fix

This commit is contained in:
Sergey Latu
2024-04-23 02:57:41 +03:00
committed by GitHub
parent 310a658d20
commit abfc4e25be

View File

@@ -110,7 +110,9 @@ func configureFromLabels() map[string]LazyGroup {
ignoreActiveClients := false;
labelValueAsString, exists = labels[prefix+groupName+".ignoreActiveClients"]
if exists {
netInterface = labelValueAsString
val, err := strconv.ParseBool(labelValueAsString)
check(err)
ignoreActiveClients = val
} else {
debugLogger.Println("Using default ignoreActiveClients of false " + prefix + groupName + ".ignoreActiveClients was not set")
}